summaryrefslogtreecommitdiffstats
path: root/firmware/panic.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-25 00:10:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-25 00:10:12 +0000
commit1a29cfb23e9865e791d9982c6d97f56457c3c5af (patch)
tree64afdac059c795e18894e8aeda727cc643da68d8 /firmware/panic.c
parent87900566919d0b3ae2cee358f78e82dda88fa865 (diff)
downloadrockbox-1a29cfb23e9865e791d9982c6d97f56457c3c5af.tar.gz
rockbox-1a29cfb23e9865e791d9982c6d97f56457c3c5af.tar.bz2
rockbox-1a29cfb23e9865e791d9982c6d97f56457c3c5af.zip
Initial gcc4 warning cleanup (and some minor policing)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8063 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/panic.c')
-rw-r--r--firmware/panic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 9226146a48..07b7a5f4de 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -57,19 +57,19 @@ void panicf( const char *fmt, ...)
#ifdef HAVE_LCD_CHARCELLS
lcd_double_height(false);
- lcd_puts(0,0,"*PANIC*");
- lcd_puts(0,1,panic_buf);
+ lcd_puts(0, 0, "*PANIC*");
+ lcd_puts(0, 1, panic_buf);
#elif defined(HAVE_LCD_BITMAP)
lcd_clear_display();
lcd_setfont(FONT_SYSFIXED);
- lcd_puts(0,0,"*PANIC*");
+ lcd_puts(0, 0, (unsigned char *)"*PANIC*");
{
/* wrap panic line */
int i, y=1, len = strlen(panic_buf);
for (i=0; i<len; i+=18) {
unsigned char c = panic_buf[i+18];
panic_buf[i+18] = 0;
- lcd_puts(0,y++,panic_buf+i);
+ lcd_puts(0, y++, (unsigned char *)panic_buf+i);
panic_buf[i+18] = c;
}
}