diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2010-07-18 12:42:47 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2010-07-18 12:42:47 +0000 |
commit | 63011c67438204ccdb29322b6f324c17e20fc0e1 (patch) | |
tree | 21b39ce39e22ba0cc666c80d48294b3e85f4f56e /apps/plugins/imageviewer/png/png.c | |
parent | 3cd1968cbc30d32b6d883792c841c897c872860a (diff) | |
download | rockbox-63011c67438204ccdb29322b6f324c17e20fc0e1.tar.gz rockbox-63011c67438204ccdb29322b6f324c17e20fc0e1.zip |
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
Diffstat (limited to 'apps/plugins/imageviewer/png/png.c')
-rw-r--r-- | apps/plugins/imageviewer/png/png.c | 2 |
1 files changed, 1 insertions, 1 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 | } |