diff options
author | Alan Modra <amodra@bigpond.net.au> | 2008-07-30 04:34:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2008-07-30 04:34:58 +0000 |
commit | 2992fc038ac25897a1324145ed146d18e83d92be (patch) | |
tree | a401676b306b6dc9984d82ea9219b4d822e4cf59 /gas/write.c | |
parent | 1af22fcd336623a00a96c8e47db78ca5192af449 (diff) | |
download | binutils-redhat-2992fc038ac25897a1324145ed146d18e83d92be.tar.gz |
Silence gcc printf warnings
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/write.c b/gas/write.c index 2ba44b9173..660df811b6 100644 --- a/gas/write.c +++ b/gas/write.c @@ -1,6 +1,6 @@ /* write.c - emit .o file Copyright 1986, 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, - 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 + 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -2516,7 +2516,8 @@ print_fixup (fixS *fixp) fprintf_vma (stderr, (bfd_vma) ((bfd_hostptr_t) fixp->fx_frag)); fprintf (stderr, " where=%ld offset=%lx addnumber=%lx", (long) fixp->fx_where, - (long) fixp->fx_offset, (long) fixp->fx_addnumber); + (unsigned long) fixp->fx_offset, + (unsigned long) fixp->fx_addnumber); fprintf (stderr, "\n %s (%d)", bfd_get_reloc_code_name (fixp->fx_r_type), fixp->fx_r_type); if (fixp->fx_addsy) |