summaryrefslogtreecommitdiff
path: root/apps/plugins/wav2wv.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-12-02 08:08:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-12-02 08:08:54 +0000
commit72f423570f4c57b77b858fe035af08ae18238028 (patch)
treeffee6968e9e4113be718b6f67b930d05840f4baf /apps/plugins/wav2wv.c
parent1e4d1f8de7a523d34c064f7f4a6e7f001d55bb7f (diff)
numerous gcc4 (un)signed warnings killed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8121 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wav2wv.c')
-rw-r--r--apps/plugins/wav2wv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/wav2wv.c b/apps/plugins/wav2wv.c
index 935c0ed4c6..fb8017d368 100644
--- a/apps/plugins/wav2wv.c
+++ b/apps/plugins/wav2wv.c
@@ -76,16 +76,16 @@ static void wvupdate (long start_tick,
(bytes_read/2)) / bytes_read);
rb->snprintf(buf, 32, "elapsed time: %d secs", (elapsed_ticks + (HZ/2)) / HZ);
- rb->lcd_puts(0, 2, buf);
+ rb->lcd_puts(0, 2, (unsigned char *)buf);
rb->snprintf(buf, 32, "progress: %d%%", progress);
- rb->lcd_puts(0, 4, buf);
+ rb->lcd_puts(0, 4, (unsigned char *)buf);
rb->snprintf(buf, 32, "realtime: %d%% ", realtime);
- rb->lcd_puts(0, 6, buf);
+ rb->lcd_puts(0, 6, (unsigned char *)buf);
rb->snprintf(buf, 32, "compression: %d%% ", compression);
- rb->lcd_puts(0, 8, buf);
+ rb->lcd_puts(0, 8, (unsigned char *)buf);
#ifdef HAVE_LCD_BITMAP
rb->lcd_update();
@@ -102,14 +102,14 @@ static int wav2wv (char *filename)
unsigned long total_bytes_read = 0, total_bytes_written = 0;
unsigned long total_samples, samples_remaining;
long *input_buffer = (long *) audiobuf;
- unsigned char *output_buffer = audiobuf + 0x100000;
+ unsigned char *output_buffer = (unsigned char *)(audiobuf + 0x100000);
char *extension, save_a;
WavpackConfig config;
WavpackContext *wpc;
long start_tick;
rb->lcd_clear_display();
- rb->lcd_puts_scroll(0, 0, filename);
+ rb->lcd_puts_scroll(0, 0, (unsigned char *)filename);
#ifdef HAVE_LCD_BITMAP
rb->lcd_update();
#endif