1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2007-03-17 09:02:53 +00:00
parent 1329d7d3fd
commit 79c8a8cbbe
20 changed files with 55 additions and 49 deletions

View file

@ -693,7 +693,7 @@ void DoUserDialog(char* filename)
crc = CheckBootloader();
if (crc) /* outdated version found */
{
rb->snprintf(buf, sizeof(buf), "(check=0x%08x)", crc);
rb->snprintf(buf, sizeof(buf), "(check=0x%08lx)", crc);
rb->lcd_puts(0, 0, buf);
rb->lcd_puts(0, 1, "Hint: You're not ");
rb->lcd_puts(0, 2, "using the latest ");