mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* windows-nat.c (handle_output_debug_string): Avoid typecast
from integer of different size warning.
This commit is contained in:
@@ -992,7 +992,7 @@ handle_output_debug_string (struct target_waitstatus *ourstatus)
|
||||
retval = strtoul (p, &p, 0);
|
||||
if (!retval)
|
||||
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,
|
||||
&saved_context,
|
||||
__COPY_CONTEXT_SIZE, &n)
|
||||
|
||||
Reference in New Issue
Block a user