aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-08 22:04:00 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-08 22:04:00 +0000
commit3b168da47916c715d8ab67b1e6f2b6bf5de1a153 (patch)
tree7fbd7c0dd110ffb247d611f51735d01c9fb141e2 /bfd
parent6364a1883703104135a05cd580643214f5513a34 (diff)
downloadgdb-3b168da47916c715d8ab67b1e6f2b6bf5de1a153.zip
gdb-3b168da47916c715d8ab67b1e6f2b6bf5de1a153.tar.gz
gdb-3b168da47916c715d8ab67b1e6f2b6bf5de1a153.tar.bz2
get the printf cast right
Diffstat (limited to 'bfd')
-rw-r--r--bfd/libbfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index c2d8b9f..93ecca9 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -394,8 +394,8 @@ bfd_get_file_window (abfd, offset, size, windowp, writable)
else if (debug_windows)
{
if (ok_to_map)
- fprintf (stderr, "not mapping: data=%x mapped=%d\n",
- i->data, (int) i->mapped);
+ fprintf (stderr, "not mapping: data=%lx mapped=%d\n",
+ (unsigned long) i->data, (int) i->mapped);
else
fprintf (stderr, "not mapping: env var not set\n");
}