summaryrefslogtreecommitdiff
path: root/win32_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32_threads.c')
-rw-r--r--win32_threads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32_threads.c b/win32_threads.c
index 0611d603..94186c4f 100644
--- a/win32_threads.c
+++ b/win32_threads.c
@@ -2621,7 +2621,7 @@ GC_INNER void GC_thr_init(void)
GC_ASSERT(I_HOLD_LOCK());
GC_ASSERT(!GC_thr_initialized);
- GC_ASSERT((word)&GC_threads % sizeof(word) == 0);
+ GC_ASSERT((word)(&GC_threads) % sizeof(word) == 0);
# ifdef GC_ASSERTIONS
GC_thr_initialized = TRUE;
# endif