diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/imageviewer/png/png.c | 2 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/alloc.c | 4 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/disk_buf.c | 4 | ||||
-rw-r--r-- | apps/plugins/shortcuts/shortcuts_common.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/imageviewer/png/png.c b/apps/plugins/imageviewer/png/png.c index c398af70c5..8bd1b241f3 100644 --- a/apps/plugins/imageviewer/png/png.c +++ b/apps/plugins/imageviewer/png/png.c | |||
@@ -1359,7 +1359,7 @@ int load_image(char *filename, struct image_info *info, | |||
1359 | 1359 | ||
1360 | } else { | 1360 | } else { |
1361 | if (!running_slideshow) { | 1361 | if (!running_slideshow) { |
1362 | rb->snprintf(print, sizeof(print), "loading %zu bytes", image_size); | 1362 | rb->snprintf(print, sizeof(print), "loading %lu bytes", (unsigned long)image_size); |
1363 | rb->lcd_puts(0, 1, print); | 1363 | rb->lcd_puts(0, 1, print); |
1364 | rb->lcd_update(); | 1364 | rb->lcd_update(); |
1365 | } | 1365 | } |
diff --git a/apps/plugins/mpegplayer/alloc.c b/apps/plugins/mpegplayer/alloc.c index e5c79c4b0c..c2165b2ea9 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, | |||
96 | { | 96 | { |
97 | void *x; | 97 | void *x; |
98 | 98 | ||
99 | DEBUGF("mpeg_alloc_internal: bs:%zu s:%u reason:%s (%d)\n", | 99 | DEBUGF("mpeg_alloc_internal: bs:%lu s:%u reason:%s (%d)\n", |
100 | bufsize, size, mpeg_get_reason_str(reason), reason); | 100 | (unsigned long)bufsize, size, mpeg_get_reason_str(reason), reason); |
101 | 101 | ||
102 | if ((size_t) (*mem_ptr + size) > bufsize) | 102 | if ((size_t) (*mem_ptr + size) > bufsize) |
103 | { | 103 | { |
diff --git a/apps/plugins/mpegplayer/disk_buf.c b/apps/plugins/mpegplayer/disk_buf.c index 4d0f98e5a3..b78407b9db 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) | |||
786 | else if (pos > disk_buf.filesize) | 786 | else if (pos > disk_buf.filesize) |
787 | pos = disk_buf.filesize; | 787 | pos = disk_buf.filesize; |
788 | 788 | ||
789 | DEBUGF("prepare streaming:\n pos:%ld len:%zu\n", pos, len); | 789 | DEBUGF("prepare streaming:\n pos:%ld len:%lu\n", pos, (unsigned long)len); |
790 | 790 | ||
791 | pos = disk_buf_lseek(pos, SEEK_SET); | 791 | pos = disk_buf_lseek(pos, SEEK_SET); |
792 | len = disk_buf_probe(pos, len, NULL); | 792 | len = disk_buf_probe(pos, len, NULL); |
793 | 793 | ||
794 | DEBUGF(" probe done: pos:%ld len:%zu\n", pos, len); | 794 | DEBUGF(" probe done: pos:%ld len:%lu\n", pos, (unsigned long)len); |
795 | 795 | ||
796 | len = disk_buf_send_msg(STREAM_RESET, pos); | 796 | len = disk_buf_send_msg(STREAM_RESET, pos); |
797 | 797 | ||
diff --git a/apps/plugins/shortcuts/shortcuts_common.c b/apps/plugins/shortcuts/shortcuts_common.c index 0eb8c47e7d..fe4f07798b 100644 --- a/apps/plugins/shortcuts/shortcuts_common.c +++ b/apps/plugins/shortcuts/shortcuts_common.c | |||
@@ -54,7 +54,7 @@ void write_int_instruction_to_file(int fd, char *instr, int value); | |||
54 | void allocate_memory(void **buf, size_t *bufsize) | 54 | void allocate_memory(void **buf, size_t *bufsize) |
55 | { | 55 | { |
56 | *buf = rb->plugin_get_buffer(bufsize); | 56 | *buf = rb->plugin_get_buffer(bufsize); |
57 | DEBUGF("Got %zud bytes of memory\n", *bufsize); | 57 | DEBUGF("Got %lu bytes of memory\n", (unsigned long)*bufsize); |
58 | } | 58 | } |
59 | 59 | ||
60 | 60 | ||