Commit 4ba350b9 authored by Michael Muré's avatar Michael Muré

buffer tests: fix three warnings due to wrong pointer cast

parent e905ac46
......@@ -13,7 +13,7 @@ TEST ()
buffer = gegl_buffer_linear_new_from_data (buf, babl_format ("Y float"),
&extent,
10 * 4,
G_CALLBACK(g_free), /* destroy_notify */
(GDestroyNotify) g_free, /* destroy_notify */
NULL /* destroy_notify_data */);
buffer2 = gegl_buffer_dup (buffer);
gegl_buffer_destroy (buffer2);
......
......@@ -13,7 +13,7 @@ TEST ()
buffer = gegl_buffer_linear_new_from_data (buf, babl_format ("Y float"),
&extent,
10 * 4,
G_CALLBACK(g_free), /* destroy_notify */
(GDestroyNotify) g_free, /* destroy_notify */
NULL /* destroy_notify_data */);
print_buffer (buffer);
gegl_buffer_destroy (buffer);
......
......@@ -13,7 +13,7 @@ TEST ()
buffer = gegl_buffer_linear_new_from_data (buf, babl_format ("Y float"),
&extent,
12 * 4,
G_CALLBACK(g_free), /* destroy_notify */
(GDestroyNotify) g_free, /* destroy_notify */
NULL /* destroy_notify_data */);
print_buffer (buffer);
gegl_buffer_destroy (buffer);
......
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