summaryrefslogtreecommitdiff
path: root/test/test_sref_weakref.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-02-07 01:37:37 +0100
committerRichard Braun <rbraun@sceen.net>2018-02-12 21:08:56 +0100
commitae60396f03b548f800da861d06cc2bea19a260aa (patch)
tree025e87f03b25714e9da03ce45b70b46f3a2bd5ea /test/test_sref_weakref.c
parent0b295c78c3a878f8a58d944a6a84c3f8dd2cebba (diff)
test: fix calls to sref_counter_init in sref tests
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++);