Commit e95a0ecd authored by Behdad Esfahbod's avatar Behdad Esfahbod

Use g_snprintf()

parent 480fb1d6
......@@ -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,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment