Commit 1ec3e9fe authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

server: Fix a win64 warning.

parent e65349d4
......@@ -160,7 +160,7 @@ inline static void init_thread_structure( struct thread *thread )
/* check if address looks valid for a client-side data structure (TEB etc.) */
static inline int is_valid_address( void *addr )
{
return addr && !((unsigned int)addr % sizeof(int));
return addr && !((unsigned long)addr % sizeof(int));
}
/* create a new thread */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment