summaryrefslogtreecommitdiff
path: root/tests/reuse2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reuse2.c')
-rw-r--r--tests/reuse2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/reuse2.c b/tests/reuse2.c
index e517d7a..625611e 100644
--- a/tests/reuse2.c
+++ b/tests/reuse2.c
@@ -79,13 +79,13 @@ enum {
};
-static int done = ;
+static long done = 0;
void * func(void * arg)
{
sched_yield();
- InterlockedIncrement((void *) &done);
+ InterlockedIncrement(&done);
return (void *) 0;
}