diff options
author | Alan Modra <amodra@bigpond.net.au> | 2008-07-30 04:34:55 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2008-07-30 04:34:55 +0000 |
commit | 95584ca86345c94ccccdaf0c927e0f72ac7aa7c0 (patch) | |
tree | efd9609ec9fbfc1fc22999a21ca49ca2e14935c3 /bfd/mach-o.c | |
parent | 59ea9db5720df5ef9dd656d7816bc9a1190c70d3 (diff) | |
download | gdb-95584ca86345c94ccccdaf0c927e0f72ac7aa7c0.tar.gz |
Silence gcc printf warnings
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r-- | bfd/mach-o.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c index bde89b04034..d8b248e34fb 100644 --- a/bfd/mach-o.c +++ b/bfd/mach-o.c @@ -556,7 +556,7 @@ bfd_mach_o_write_contents (bfd *abfd) default: fprintf (stderr, "unable to write unknown load command 0x%lx\n", - (long) cur->type); + (unsigned long) cur->type); return FALSE; } } @@ -1576,7 +1576,7 @@ bfd_mach_o_object_p (bfd *abfd) || header.byteorder == BFD_ENDIAN_LITTLE)) { fprintf (stderr, "unknown header byte-order value 0x%lx\n", - (long) header.byteorder); + (unsigned long) header.byteorder); goto wrong; } @@ -1623,7 +1623,7 @@ bfd_mach_o_core_p (bfd *abfd) || header.byteorder == BFD_ENDIAN_LITTLE)) { fprintf (stderr, "unknown header byte-order value 0x%lx\n", - (long) header.byteorder); + (unsigned long) header.byteorder); abort (); } |