get the printf cast right
authorIan Lance Taylor <ian@airs.com>
Wed, 8 Nov 1995 22:04:00 +0000 (22:04 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 8 Nov 1995 22:04:00 +0000 (22:04 +0000)
bfd/libbfd.c

index c2d8b9f2732d6167b89f04d4078a0ee405acf229..93ecca9eb6509fc0300f41f501d6c806f9db81f6 100644 (file)
@@ -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");
     }