diff options
author | Alan Modra <amodra@gmail.com> | 2008-07-30 04:34:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-07-30 04:34:58 +0000 |
commit | 0af1713e7cd57b52f6c81f73aa58934132198880 (patch) | |
tree | af4b52a6c5f3c8cd570e4f266f019cf552d6f442 /bfd/pef.c | |
parent | 22ad7fee2a313665df38ad7177f962f7c13ad0b6 (diff) | |
download | gdb-0af1713e7cd57b52f6c81f73aa58934132198880.zip gdb-0af1713e7cd57b52f6c81f73aa58934132198880.tar.gz gdb-0af1713e7cd57b52f6c81f73aa58934132198880.tar.bz2 |
Silence gcc printf warnings
Diffstat (limited to 'bfd/pef.c')
-rw-r--r-- | bfd/pef.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* PEF support for BFD. - Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 + Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -186,7 +186,7 @@ bfd_pef_parse_traceback_table (bfd *abfd, offset += 4; if (file != NULL) - fprintf (file, " [length = 0x%lx]", (long) offset); + fprintf (file, " [length = 0x%lx]", (unsigned long) offset); return offset; } |