summaryrefslogtreecommitdiff
path: root/src/cachemanager.h
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2015-04-10 17:42:56 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-20 13:22:08 +0100
commitabb00f5e7fea020e9f55840784753002b8dd2d8a (patch)
treedc2b6fca12b0a8ae726a0b38d5412936f3d4460d /src/cachemanager.h
parentfea2ff5536a06a3f1ddee9484e165961169ffce5 (diff)
Changed size of parameter from int to size_t.
Diffstat (limited to 'src/cachemanager.h')
-rw-r--r--src/cachemanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cachemanager.h b/src/cachemanager.h
index 6a14429..4b5c64d 100644
--- a/src/cachemanager.h
+++ b/src/cachemanager.h
@@ -58,7 +58,7 @@ public:
// returns the first buffer and its size in &size.
// get id from "free stack" and store pointers to buffers in id vector.
// event: open sndfile handle (if not already open) and increase refcount
- sample_t *open(AudioFile *file, int initial_samples_needed, int channel, cacheid_t &new_id);
+ sample_t *open(AudioFile *file, size_t initial_samples_needed, int channel, cacheid_t &new_id);
// Return which ever buffer is the front, swap them and add event to load the
// next chunk.