Apply 1 suggestion(s) to 1 file(s)
diff --git a/glib/gthreadpool.c b/glib/gthreadpool.c index b1e1b67..3d1c507 100644 --- a/glib/gthreadpool.c +++ b/glib/gthreadpool.c
@@ -445,7 +445,7 @@ */ char name[16]; - g_snprintf (name, sizeof (name), "pool-%d", g_atomic_int_add (thread_counter, 1)); + g_snprintf (name, sizeof (name), "pool-%d", g_atomic_int_add (&thread_counter, 1)); thread = g_thread_try_new (name, g_thread_pool_thread_proxy, pool, error); }