diff options
author | Keith Kanios <spook@dynatos.net> | 2007-04-14 00:10:59 +0000 |
---|---|---|
committer | Keith Kanios <spook@dynatos.net> | 2007-04-14 00:10:59 +0000 |
commit | 93f2e9a5a1c46c3203a9df0933301f42b2b88eb9 (patch) | |
tree | 506f66150034666ec42b6da902d721dde96a7f88 /ndisasm.c | |
parent | 0899e21289fac4e82776ec3dd0d295a6b8221790 (diff) | |
download | nasm-93f2e9a5a1c46c3203a9df0933301f42b2b88eb9.tar.gz nasm-93f2e9a5a1c46c3203a9df0933301f42b2b88eb9.tar.bz2 nasm-93f2e9a5a1c46c3203a9df0933301f42b2b88eb9.zip |
c99 printf/fprintf compliance.
Diffstat (limited to 'ndisasm.c')
-rw-r--r-- | ndisasm.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -254,8 +254,7 @@ int main(int argc, char **argv) p += lenread; if ((uint32_t)offset == nextsync) { if (synclen) { - fprintf(stdout, "%08lX skipping 0x%lX bytes\n", offset, - synclen); + fprintf(stdout, "%08"PRIX32" skipping 0x%"PRIX32" bytes\n", offset, synclen); offset += synclen; skip(synclen, fp); } @@ -293,7 +292,7 @@ static void output_ins(uint32_t offset, uint8_t *data, int datalen, char *insn) { int bytes; - fprintf(stdout, "%08lX ", offset); + fprintf(stdout, "%08"PRIX32" ", offset); bytes = 0; while (datalen > 0 && bytes < BPL) { |