summaryrefslogtreecommitdiff
path: root/gthread/tests/atomic.c
diff options
context:
space:
mode:
Diffstat (limited to 'gthread/tests/atomic.c')
-rw-r--r--gthread/tests/atomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gthread/tests/atomic.c b/gthread/tests/atomic.c
index ccc9f17ec..a9a66ea28 100644
--- a/gthread/tests/atomic.c
+++ b/gthread/tests/atomic.c
@@ -47,7 +47,7 @@ test_atomic (void)
bucket[i] = 0;
for (i = 0; i < THREADS; i++)
- threads[i] = g_thread_new ("atomic", thread_func, GINT_TO_POINTER (i), NULL);
+ threads[i] = g_thread_new ("atomic", thread_func, GINT_TO_POINTER (i));
for (i = 0; i < THREADS; i++)
g_thread_join (threads[i]);