aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfdwin.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-07-02 17:08:51 +0000
committerTom Tromey <tromey@redhat.com>2009-07-02 17:08:51 +0000
commit848f574829bcbcc1ce46870e898fbb1118ff7130 (patch)
tree377e5e144fc33aa5975714c0411571b0d6a55c84 /bfd/bfdwin.c
parentc2250ad1c4567fd2235cb4131f7cb7c06da3769a (diff)
downloadgdb-848f574829bcbcc1ce46870e898fbb1118ff7130.zip
gdb-848f574829bcbcc1ce46870e898fbb1118ff7130.tar.gz
gdb-848f574829bcbcc1ce46870e898fbb1118ff7130.tar.bz2
* aoutx.h (aout_get_external_symbols): Declare 'amt' locally.
* bfdwin.c (bfd_free_window): Cast to unsigned long.
Diffstat (limited to 'bfd/bfdwin.c')
-rw-r--r--bfd/bfdwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/bfdwin.c b/bfd/bfdwin.c
index 3a35fc9..63ad5ed 100644
--- a/bfd/bfdwin.c
+++ b/bfd/bfdwin.c
@@ -1,5 +1,5 @@
/* Support for memory-mapped windows into a BFD.
- Copyright 1995, 1996, 2001, 2002, 2003, 2005, 2007, 2008
+ Copyright 1995, 1996, 2001, 2002, 2003, 2005, 2007, 2008, 2009
Free Software Foundation, Inc.
Written by Cygnus Support.
@@ -78,7 +78,7 @@ bfd_free_window (bfd_window *windowp)
i->refcount--;
if (debug_windows)
fprintf (stderr, "freeing window @%p<%p,%lx,%p>\n",
- windowp, windowp->data, windowp->size, windowp->i);
+ windowp, windowp->data, (unsigned long) windowp->size, windowp->i);
if (i->refcount != 0)
return;