[gegl] buffer: minor clean up



commit 47cd71922d5442f66b9901b311b260630a5b4547
Author: Téo Mazars <teomazars gmail com>
Date:   Sat Feb 22 12:14:33 2014 +0100

    buffer: minor clean up

 gegl/buffer/gegl-buffer-save.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-save.c b/gegl/buffer/gegl-buffer-save.c
index 74c2d2c..18af937 100644
--- a/gegl/buffer/gegl-buffer-save.c
+++ b/gegl/buffer/gegl-buffer-save.c
@@ -53,7 +53,7 @@ typedef struct
   GeglBufferHeader header;
   GList           *tiles;
   gchar           *path;
-  int             o;
+  gint             o;
 
   gint             tile_size;
   gint             offset;
@@ -259,11 +259,10 @@ gegl_buffer_save (GeglBuffer          *buffer,
   {
     gint z;
     gint factor = 1;
-    int  bufy = roi->y;
 
     for (z = 0; z < 1; z++)
       {
-        bufy = roi->y;
+        gint bufy = roi->y;
         while (bufy < roi->y + roi->height)
           {
             gint tiledy  = roi->y + bufy;


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