diff options
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/talk.c b/apps/talk.c index 1f1eefd51d..1610fa95ec 100644 --- a/apps/talk.c +++ b/apps/talk.c | |||
@@ -132,7 +132,7 @@ static int talk_menu_disable; /* if non-zero, temporarily disable voice UI (not | |||
132 | /***************** Private prototypes *****************/ | 132 | /***************** Private prototypes *****************/ |
133 | 133 | ||
134 | static void load_voicefile(void); | 134 | static void load_voicefile(void); |
135 | static void mp3_callback(unsigned char** start, int* size); | 135 | static void mp3_callback(unsigned char** start, size_t* size); |
136 | static int shutup(void); | 136 | static int shutup(void); |
137 | static int queue_clip(unsigned char* buf, long size, bool enqueue); | 137 | static int queue_clip(unsigned char* buf, long size, bool enqueue); |
138 | static int open_voicefile(void); | 138 | static int open_voicefile(void); |
@@ -262,7 +262,7 @@ load_err: | |||
262 | 262 | ||
263 | 263 | ||
264 | /* called in ISR context if mp3 data got consumed */ | 264 | /* called in ISR context if mp3 data got consumed */ |
265 | static void mp3_callback(unsigned char** start, int* size) | 265 | static void mp3_callback(unsigned char** start, size_t* size) |
266 | { | 266 | { |
267 | queue[queue_read].len -= sent; /* we completed this */ | 267 | queue[queue_read].len -= sent; /* we completed this */ |
268 | queue[queue_read].buf += sent; | 268 | queue[queue_read].buf += sent; |