diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2013-03-19 15:06:26 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2013-03-19 15:06:26 +0000 |
commit | 770fbfc9f852dd13f6def7691e8b3628087fc4c2 (patch) | |
tree | d05b809552882f0f9fd2541e38cfa7d080675e95 /gdb/windows-nat.c | |
parent | 57322b04052a09639743028202f044de535c1573 (diff) | |
download | gdb-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.c | 2 |
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) |