summaryrefslogtreecommitdiff
path: root/test/test_sref_weakref.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_sref_weakref.c')
-rw-r--r--test/test_sref_weakref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_sref_weakref.c b/test/test_sref_weakref.c
index 85d4cbec..f1396c39 100644
--- a/test/test_sref_weakref.c
+++ b/test/test_sref_weakref.c
@@ -67,7 +67,7 @@ test_run(void *arg)
continue;
}
- sref_counter_init(counter, &test_weakref, test_noref);
+ sref_counter_init(counter, 1, &test_weakref, test_noref);
sref_counter_dec(counter);
for (j = 0; j < 0x20000000; j++);