[gegl] raw-load: fix compilation warnings



commit 0ae4d72520bee8c3324d201fb0514021dc9cf46a
Author: Øyvind Kolås <pippin gimp org>
Date:   Mon Jun 8 19:02:11 2015 +0200

    raw-load: fix compilation warnings

 operations/external/raw-load.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/operations/external/raw-load.c b/operations/external/raw-load.c
index a492bc8..e66b5d3 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"));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]