aboutsummaryrefslogtreecommitdiffstats
path: root/rdoff/rdoff.c
diff options
context:
space:
mode:
authorKeith Kanios <spook@dynatos.net>2007-04-14 01:24:14 +0000
committerKeith Kanios <spook@dynatos.net>2007-04-14 01:24:14 +0000
commit47776ac52561c4694976bedecbf0e82635370dfc (patch)
tree5cdbb1f5a5cc6d6af098e609888316ce34467ef3 /rdoff/rdoff.c
parentc7ae18dba1c3085dc8cd12a6fdcbfc59eda8bf1c (diff)
downloadnasm-47776ac52561c4694976bedecbf0e82635370dfc.tar.gz
nasm-47776ac52561c4694976bedecbf0e82635370dfc.tar.xz
nasm-47776ac52561c4694976bedecbf0e82635370dfc.zip
c99 printf/fprintf compliance.
Diffstat (limited to 'rdoff/rdoff.c')
-rw-r--r--rdoff/rdoff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdoff/rdoff.c b/rdoff/rdoff.c
index 9bbfd291..ac722795 100644
--- a/rdoff/rdoff.c
+++ b/rdoff/rdoff.c
@@ -234,7 +234,7 @@ int rdfopenhere(rdffile * f, FILE * fp, int *refcount, const char *name)
/* fix this to be portable! */
fputs("*** this program requires a little endian machine\n",
stderr);
- fprintf(stderr, "01020304h = %08lxh\n", translateint32_t(0x01020304));
+ fprintf(stderr, "01020304h = %08"PRIx32"h\n", translateint32_t(0x01020304));
exit(3);
}
@@ -295,7 +295,7 @@ int rdfopenhere(rdffile * f, FILE * fp, int *refcount, const char *name)
}
if (f->eof_offset != ftell(f->fp) + 8) { /* +8 = skip null segment header */
- fprintf(stderr, "warning: eof_offset [%ld] and actual eof offset "
+ fprintf(stderr, "warning: eof_offset [%"PRId32"] and actual eof offset "
"[%ld] don't match\n", f->eof_offset, ftell(f->fp) + 8);
}
fseek(f->fp, initpos, SEEK_SET);