diff options
Diffstat (limited to 'firmware/mp3_playback.c')
-rw-r--r-- | firmware/mp3_playback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/mp3_playback.c b/firmware/mp3_playback.c index 68fa96d619..c5c747ac2c 100644 --- a/firmware/mp3_playback.c +++ b/firmware/mp3_playback.c | |||
@@ -61,7 +61,7 @@ static long playstart_tick; | |||
61 | static long cumulative_ticks; | 61 | static long cumulative_ticks; |
62 | 62 | ||
63 | /* the registered callback function to ask for more mp3 data */ | 63 | /* the registered callback function to ask for more mp3 data */ |
64 | static void (*callback_for_more)(unsigned char**, int*); | 64 | static void (*callback_for_more)(unsigned char**, size_t*); |
65 | #endif /* #ifndef SIMULATOR */ | 65 | #endif /* #ifndef SIMULATOR */ |
66 | 66 | ||
67 | /* list of tracks in memory */ | 67 | /* list of tracks in memory */ |
@@ -167,7 +167,7 @@ void DEI3(void) __attribute__((interrupt_handler)); | |||
167 | void DEI3(void) | 167 | void DEI3(void) |
168 | { | 168 | { |
169 | unsigned char* start; | 169 | unsigned char* start; |
170 | int size = 0; | 170 | size_t size = 0; |
171 | 171 | ||
172 | if (callback_for_more != NULL) | 172 | if (callback_for_more != NULL) |
173 | { | 173 | { |
@@ -502,7 +502,7 @@ void mp3_play_init(void) | |||
502 | } | 502 | } |
503 | 503 | ||
504 | void mp3_play_data(const unsigned char* start, int size, | 504 | void mp3_play_data(const unsigned char* start, int size, |
505 | void (*get_more)(unsigned char** start, int* size) /* callback fn */ | 505 | void (*get_more)(unsigned char** start, size_t* size) /* callback fn */ |
506 | ) | 506 | ) |
507 | { | 507 | { |
508 | /* init DMA */ | 508 | /* init DMA */ |