From: Ian Lance Taylor Date: Wed, 8 Nov 1995 22:04:00 +0000 (+0000) Subject: get the printf cast right X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b168da47916c715d8ab67b1e6f2b6bf5de1a153;p=binutils-gdb.git get the printf cast right --- diff --git a/bfd/libbfd.c b/bfd/libbfd.c index c2d8b9f2732..93ecca9eb65 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"); }