Skip to content
Snippets Groups Projects
Commit 1298f223 authored by eric pouech's avatar eric pouech Committed by Alexandre Julliard
Browse files

server: Fix write_process_memory on Wow64.

parent e5555b0f
No related branches found
No related tags found
No related merge requests found
......@@ -330,7 +330,7 @@ static long read_thread_long( struct thread *thread, long *addr, long *data )
static long write_thread_long( struct thread *thread, long *addr, long data, unsigned long mask )
{
long res;
if (mask != ~0u)
if (mask != ~0ul)
{
if (read_thread_long( thread, addr, &res ) == -1) return -1;
data = (data & mask) | (res & ~mask);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment