mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-22 11:12:07 +00:00
Avoid using %# printf specifier
This commit is contained in:
@@ -969,7 +969,7 @@ static void processFile(int input, int output, char const *name, off_t fileSize)
|
||||
overwriteByte(rom0, 0x14B, oldLicensee, "old licensee code");
|
||||
else if (sgb && rom0[0x14B] != 0x33)
|
||||
fprintf(stderr,
|
||||
"warning: SGB compatibility enabled, but old licensee was %#x, not 0x33\n",
|
||||
"warning: SGB compatibility enabled, but old licensee was 0x%02x, not 0x33\n",
|
||||
rom0[0x14B]);
|
||||
|
||||
if (romVersion != UNSPECIFIED)
|
||||
@@ -1440,7 +1440,7 @@ do { \
|
||||
|
||||
if (sgb && oldLicensee != UNSPECIFIED && oldLicensee != 0x33)
|
||||
fprintf(stderr,
|
||||
"warning: SGB compatibility enabled, but old licensee is %#x, not 0x33\n",
|
||||
"warning: SGB compatibility enabled, but old licensee is 0x%02x, not 0x33\n",
|
||||
oldLicensee);
|
||||
|
||||
argv += musl_optind;
|
||||
|
||||
Reference in New Issue
Block a user