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:
parent
1329d7d3fd
commit
79c8a8cbbe
20 changed files with 55 additions and 49 deletions
|
@ -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 ");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue