* windows-nat.c (handle_output_debug_string): Avoid typecast
from integer of different size warning.
This commit is contained in:
parent
96811e3b4b
commit
40653b3568
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-03-27 Pierre Muller <muller@sourceware.org>
|
||||||
|
|
||||||
|
* windows-nat.c (handle_output_debug_string): Avoid typecast
|
||||||
|
from integer of different size warning.
|
||||||
|
|
||||||
2013-03-26 Joel Brobecker <brobecker@adacore.com>
|
2013-03-26 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* windows-nat.c (handle_output_debug_string): Add empty line
|
* windows-nat.c (handle_output_debug_string): Add empty line
|
||||||
|
|
|
@ -992,7 +992,7 @@ handle_output_debug_string (struct target_waitstatus *ourstatus)
|
||||||
retval = strtoul (p, &p, 0);
|
retval = strtoul (p, &p, 0);
|
||||||
if (!retval)
|
if (!retval)
|
||||||
retval = main_thread_id;
|
retval = main_thread_id;
|
||||||
else if ((x = (LPCVOID) strtoull (p, NULL, 0))
|
else if ((x = (LPCVOID) (uintptr_t) strtoull (p, NULL, 0))
|
||||||
&& ReadProcessMemory (current_process_handle, x,
|
&& ReadProcessMemory (current_process_handle, x,
|
||||||
&saved_context,
|
&saved_context,
|
||||||
__COPY_CONTEXT_SIZE, &n)
|
__COPY_CONTEXT_SIZE, &n)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue