summaryrefslogtreecommitdiff
path: root/apps/plugins/wav2wv.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-17 09:02:53 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-17 09:02:53 +0000
commit79c8a8cbbec5f1f0f7766d2b72ce12d51b3b849d (patch)
treed5c3fbab0ec01d2b0ca7d5278f15cf45f79b0763 /apps/plugins/wav2wv.c
parent1329d7d3fde426a290c03ee92b1c701dde49851c (diff)
downloadrockbox-79c8a8cbbec5f1f0f7766d2b72ce12d51b3b849d.tar.gz
rockbox-79c8a8cbbec5f1f0f7766d2b72ce12d51b3b849d.zip
Let GCC check arguments of some more printf-style functions, also for plugins and codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wav2wv.c')
-rw-r--r--apps/plugins/wav2wv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/wav2wv.c b/apps/plugins/wav2wv.c
index 07b1d225f8..69ccfa52a5 100644
--- a/apps/plugins/wav2wv.c
+++ b/apps/plugins/wav2wv.c
@@ -80,7 +80,7 @@ static void wvupdate (int32_t start_tick,
80 compression = (int)(((int64_t)(bytes_read - bytes_written) * 100 + 80 compression = (int)(((int64_t)(bytes_read - bytes_written) * 100 +
81 (bytes_read/2)) / bytes_read); 81 (bytes_read/2)) / bytes_read);
82 82
83 rb->snprintf(buf, 32, "elapsed time: %d secs", (elapsed_ticks + (HZ/2)) / HZ); 83 rb->snprintf(buf, 32, "elapsed time: %ld secs", (elapsed_ticks + (HZ/2)) / HZ);
84 rb->lcd_puts(0, 2, (unsigned char *)buf); 84 rb->lcd_puts(0, 2, (unsigned char *)buf);
85 85
86 rb->snprintf(buf, 32, "progress: %d%%", progress); 86 rb->snprintf(buf, 32, "progress: %d%%", progress);