Mike McCormack : server: Fix a win64 warning.
Module: wine Branch: refs/heads/master Commit: 1ec3e9fe7d24c0b456f70f37e8c7aebc86ae90de URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=1ec3e9fe7d24c0b456f70f37... Author: Mike McCormack <mike(a)codeweavers.com> Date: Thu Jun 15 17:10:40 2006 +0900 server: Fix a win64 warning. --- server/thread.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/thread.c b/server/thread.c index 40b9615..e2c8807 100644 --- a/server/thread.c +++ b/server/thread.c @@ -160,7 +160,7 @@ inline static void init_thread_structure /* 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 */
participants (1)
-
Alexandre Julliard