[gegl] buffer: remove some typechecks



commit f8c6daa52c8f23b4923f15b88005634979adbfd4
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Mon Apr 23 02:07:00 2012 +0200

    buffer: remove some typechecks

 gegl/buffer/gegl-buffer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer.c b/gegl/buffer/gegl-buffer.c
index 6d99861..534607c 100644
--- a/gegl/buffer/gegl-buffer.c
+++ b/gegl/buffer/gegl-buffer.c
@@ -749,7 +749,7 @@ gegl_buffer_get_tile (GeglTileSource *source,
                       gint        y,
                       gint        z)
 {
-  GeglTileHandler *handler = GEGL_TILE_HANDLER (source);
+  GeglTileHandler *handler = (GeglTileHandler*) (source);
   GeglTile    *tile   = NULL;
   source = handler->source;
 
@@ -760,7 +760,7 @@ gegl_buffer_get_tile (GeglTileSource *source,
 
   if (tile)
     {
-      GeglBuffer *buffer = GEGL_BUFFER (handler);
+      GeglBuffer *buffer = (GeglBuffer*) (handler);
 
       /* storing information in tile, to enable the dispose function of the
        * tile instance to "hook" back to the storage with correct



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