summaryrefslogtreecommitdiff
path: root/tests/reuse2.c
diff options
context:
space:
mode:
authorrpj <rpj>2003-08-19 07:09:12 +0000
committerrpj <rpj>2003-08-19 07:09:12 +0000
commitbea8978fb8ab1a6d106fc6761b50fb55a98373d4 (patch)
tree9df48d3fe53a27ee86a3379fbc6603ac35b0091b /tests/reuse2.c
parentde906ef6d2a5d88df4896d4adab6b1520ad1f4f6 (diff)
Fix accidental corruption of some test cases.snap-2003-08-19
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;
}