From 1ec3e9fe7d24c0b456f70f37e8c7aebc86ae90de Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Thu, 15 Jun 2006 17:10:40 +0900 Subject: [PATCH] server: Fix a win64 warning. --- server/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/thread.c b/server/thread.c index 40b9615d5eb..e2c8807b26a 100644 --- a/server/thread.c +++ b/server/thread.c @@ -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 */ -- 2.11.4.GIT