diff options
-rw-r--r-- | tests/test-pangocairo-threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-pangocairo-threads.c b/tests/test-pangocairo-threads.c index 1dfe53c4..72349545 100644 --- a/tests/test-pangocairo-threads.c +++ b/tests/test-pangocairo-threads.c @@ -89,7 +89,7 @@ main (int argc, char **argv) char buf[10]; cairo_surface_t *surface = create_surface (); g_ptr_array_add (surfaces, surface); - snprintf (buf, sizeof (buf), "%d", i); + g_snprintf (buf, sizeof (buf), "%d", i); g_ptr_array_add (threads, g_thread_new (buf, thread_func, |