summaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-01-14 05:27:48 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-01-14 05:27:48 +0000
commit2d6d3a41a5b8625d958f4f1c13d87203360710be (patch)
tree8633ddc102d9ce8bfe67a1b677f3f7cf7c6b2f96 /gdb/windows-nat.c
parentd01d9f616da76337402f2a5614bb287a2307fd14 (diff)
downloadgdb-2d6d3a41a5b8625d958f4f1c13d87203360710be.tar.gz
* windows-nat.c (handle_unload_dll): Use %p to print the DLL
base address instead of casting it to DWORD.
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 724c18f9d62..7e43f87e521 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -761,7 +761,7 @@ handle_unload_dll (void *dummy)
return 1;
}
- error (_("Error: dll starting at 0x%lx not found."), (DWORD) lpBaseOfDll);
+ error (_("Error: dll starting at %p not found."), lpBaseOfDll);
return 0;
}