get the printf cast right

This commit is contained in:
Ian Lance Taylor 1995-11-08 22:04:00 +00:00
parent 6364a18837
commit 3b168da479

View File

@ -394,8 +394,8 @@ bfd_get_file_window (abfd, offset, size, windowp, writable)
else if (debug_windows) else if (debug_windows)
{ {
if (ok_to_map) if (ok_to_map)
fprintf (stderr, "not mapping: data=%x mapped=%d\n", fprintf (stderr, "not mapping: data=%lx mapped=%d\n",
i->data, (int) i->mapped); (unsigned long) i->data, (int) i->mapped);
else else
fprintf (stderr, "not mapping: env var not set\n"); fprintf (stderr, "not mapping: env var not set\n");
} }