summaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-03-19 15:06:26 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-03-19 15:06:26 +0000
commit770fbfc9f852dd13f6def7691e8b3628087fc4c2 (patch)
treed05b809552882f0f9fd2541e38cfa7d080675e95 /gdb/windows-nat.c
parent57322b04052a09639743028202f044de535c1573 (diff)
downloadgdb-770fbfc9f852dd13f6def7691e8b3628087fc4c2.tar.gz
* windows-nat.c (handle_output_debug_string): Change type of n to
SIZE_T to avoid crash on 64 bit systems.
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 977b9680b8f..16ee785a26b 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -973,7 +973,7 @@ handle_output_debug_string (struct target_waitstatus *ourstatus)
if (gotasig)
{
LPCVOID x;
- DWORD n;
+ SIZE_T n;
ourstatus->kind = TARGET_WAITKIND_STOPPED;
retval = strtoul (p, &p, 0);
if (!retval)