1
0
Fork 0
forked from len0rd/rockbox

numerous gcc4 (un)signed warnings killed

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8121 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2005-12-02 08:08:54 +00:00
parent 1e4d1f8de7
commit 72f423570f
8 changed files with 47 additions and 45 deletions

View file

@ -301,8 +301,8 @@ void showscore(struct pong *p)
int w;
rb->snprintf(buffer, sizeof(buffer), "%d - %d", p->score[0], p->score[1]);
w = rb->lcd_getstringsize(buffer, NULL, NULL);
rb->lcd_putsxy( (LCD_WIDTH / 2) - (w / 2), 0, buffer);
w = rb->lcd_getstringsize((unsigned char *)buffer, NULL, NULL);
rb->lcd_putsxy( (LCD_WIDTH / 2) - (w / 2), 0, (unsigned char *)buffer);
}
/* this is the plugin entry point */