summaryrefslogtreecommitdiff
path: root/bfd/bfdwin.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-07-02 17:08:50 +0000
committerTom Tromey <tromey@redhat.com>2009-07-02 17:08:50 +0000
commit0457fb422b968a6ce1d2e0d19371a1dce27d70a9 (patch)
tree5168b242891564ef1bd55c11030f17004ea82295 /bfd/bfdwin.c
parentd43b2c84d95e4c7c354fe2759e8e3a3419ac5cd0 (diff)
downloadgdb-0457fb422b968a6ce1d2e0d19371a1dce27d70a9.tar.gz
* 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 3a35fc91c41..63ad5ed3f53 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;