diff options
Diffstat (limited to 'apps/plugins/mpegplayer')
| -rw-r--r-- | apps/plugins/mpegplayer/alloc.c | 4 | ||||
| -rw-r--r-- | apps/plugins/mpegplayer/disk_buf.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/mpegplayer/alloc.c b/apps/plugins/mpegplayer/alloc.c index e5c79c4..c2165b2 100644 --- a/apps/plugins/mpegplayer/alloc.c +++ b/apps/plugins/mpegplayer/alloc.c @@ -96,8 +96,8 @@ static void * mpeg_malloc_internal (unsigned char *mallocbuf, { void *x; - DEBUGF("mpeg_alloc_internal: bs:%zu s:%u reason:%s (%d)\n", - bufsize, size, mpeg_get_reason_str(reason), reason); + DEBUGF("mpeg_alloc_internal: bs:%lu s:%u reason:%s (%d)\n", + (unsigned long)bufsize, size, mpeg_get_reason_str(reason), reason); if ((size_t) (*mem_ptr + size) > bufsize) { diff --git a/apps/plugins/mpegplayer/disk_buf.c b/apps/plugins/mpegplayer/disk_buf.c index 4d0f98e..b78407b 100644 --- a/apps/plugins/mpegplayer/disk_buf.c +++ b/apps/plugins/mpegplayer/disk_buf.c @@ -786,12 +786,12 @@ ssize_t disk_buf_prepare_streaming(off_t pos, size_t len) else if (pos > disk_buf.filesize) pos = disk_buf.filesize; - DEBUGF("prepare streaming:\n pos:%ld len:%zu\n", pos, len); + DEBUGF("prepare streaming:\n pos:%ld len:%lu\n", pos, (unsigned long)len); pos = disk_buf_lseek(pos, SEEK_SET); len = disk_buf_probe(pos, len, NULL); - DEBUGF(" probe done: pos:%ld len:%zu\n", pos, len); + DEBUGF(" probe done: pos:%ld len:%lu\n", pos, (unsigned long)len); len = disk_buf_send_msg(STREAM_RESET, pos); |