summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorØyvind Kolås <pippin@gimp.org>2015-06-08 19:02:11 +0200
committerØyvind Kolås <pippin@gimp.org>2015-06-08 19:02:11 +0200
commit0ae4d72520bee8c3324d201fb0514021dc9cf46a (patch)
tree5b4ea71dc15ebd6c727bec04aca2ad57336d17fd
parent8a77a5548b9ada8e2ff707e9b30b049e3ed114a0 (diff)
raw-load: fix compilation warnings
-rw-r--r--operations/external/raw-load.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/operations/external/raw-load.c b/operations/external/raw-load.c
index a492bc87..e66b5d3a 100644
--- a/operations/external/raw-load.c
+++ b/operations/external/raw-load.c
@@ -149,7 +149,7 @@ load_buffer (GeglOperation *operation)
babl_format ("Y u16"),
&extent,
GEGL_AUTO_ROWSTRIDE,
- G_CALLBACK (g_free),
+ (void*)g_free,
NULL);
}
@@ -195,7 +195,8 @@ static gboolean
process (GeglOperation *operation,
GeglOperationContext *context,
const gchar *output_pad,
- const GeglRectangle *result)
+ const GeglRectangle *result,
+ int level)
{
GeglProperties *o = GEGL_PROPERTIES (operation);
g_assert (g_str_equal (output_pad, "output"));