[gnome-photos/wip/rishi/thumbnailer: 1/2] thumbnailer: Use the correct typecast



commit 2f74916b0100f1e4e291941f177b416030576715
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Feb 20 08:35:05 2017 +0100

    thumbnailer: Use the correct typecast
    
    A gint64 is being cast to a gint.
    
    Fallout from e62947cd9c7a8cfc8a040e2111be4b5fc2d71cbf

 src/photos-thumbnailer.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-thumbnailer.c b/src/photos-thumbnailer.c
index 16c0a36..9366f81 100644
--- a/src/photos-thumbnailer.c
+++ b/src/photos-thumbnailer.c
@@ -425,8 +425,8 @@ photos_thumbnailer_generate_thumbnail_pipeline (GObject *source_object, GAsyncRe
         }
       else
         {
-          load_height = (gint64) data->original_height;
-          load_width = (gint64) data->original_width;
+          load_height = (gint) data->original_height;
+          load_width = (gint) data->original_width;
         }
     }
   else


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