From 63011c67438204ccdb29322b6f324c17e20fc0e1 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sun, 18 Jul 2010 12:42:47 +0000 Subject: Revert accidental commit of "%z" support in r26071 (the implementation assumed size_t==long, which is not always the case in hosted environments) Remove four remaining uses of %z, three of which were in DEBUGF git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27479 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/imageviewer/png/png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/imageviewer/png/png.c') 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, } else { if (!running_slideshow) { - rb->snprintf(print, sizeof(print), "loading %zu bytes", image_size); + rb->snprintf(print, sizeof(print), "loading %lu bytes", (unsigned long)image_size); rb->lcd_puts(0, 1, print); rb->lcd_update(); } -- cgit v1.2.3