summaryrefslogtreecommitdiff
path: root/bfd/pef.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-07-30 04:34:55 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-07-30 04:34:55 +0000
commit95584ca86345c94ccccdaf0c927e0f72ac7aa7c0 (patch)
treeefd9609ec9fbfc1fc22999a21ca49ca2e14935c3 /bfd/pef.c
parent59ea9db5720df5ef9dd656d7816bc9a1190c70d3 (diff)
downloadgdb-95584ca86345c94ccccdaf0c927e0f72ac7aa7c0.tar.gz
Silence gcc printf warnings
Diffstat (limited to 'bfd/pef.c')
-rw-r--r--bfd/pef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/pef.c b/bfd/pef.c
index a1b71acd8ab..6630a770b92 100644
--- a/bfd/pef.c
+++ b/bfd/pef.c
@@ -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;
}