diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2013-03-15 05:56:14 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2013-03-15 06:25:33 -0400 |
commit | e95a0ecd5d1bbcc0c96fc52160edc18292f66f04 (patch) | |
tree | 68f5bf8c27effcdf209e17ba806eb27a3d447d6f | |
parent | 480fb1d6eee13092e50ceb213fcc7eeb4b52e52f (diff) | |
download | pango-e95a0ecd5d1bbcc0c96fc52160edc18292f66f04.tar.gz |
Use g_snprintf()
-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, |