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/shortcuts/shortcuts_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/shortcuts') 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); void allocate_memory(void **buf, size_t *bufsize) { *buf = rb->plugin_get_buffer(bufsize); - DEBUGF("Got %zud bytes of memory\n", *bufsize); + DEBUGF("Got %lu bytes of memory\n", (unsigned long)*bufsize); } -- cgit v1.2.3