diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-10 17:42:56 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-01-20 13:22:08 +0100 |
commit | abb00f5e7fea020e9f55840784753002b8dd2d8a (patch) | |
tree | dc2b6fca12b0a8ae726a0b38d5412936f3d4460d /src/cachemanager.cc | |
parent | fea2ff5536a06a3f1ddee9484e165961169ffce5 (diff) |
Changed size of parameter from int to size_t.
Diffstat (limited to 'src/cachemanager.cc')
-rw-r--r-- | src/cachemanager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cachemanager.cc b/src/cachemanager.cc index 719df17..9b18882 100644 --- a/src/cachemanager.cc +++ b/src/cachemanager.cc @@ -58,7 +58,7 @@ void CacheManager::deinit() } // Invariant: initial_samples_needed < preloaded audio data -sample_t *CacheManager::open(AudioFile *file, int initial_samples_needed, int channel, cacheid_t &id) +sample_t *CacheManager::open(AudioFile *file, size_t initial_samples_needed, int channel, cacheid_t &id) { // What if no free ids is available? m_ids.lock(); |