[gnome-photos] thumbnailer: Use the correct typecast



commit 6fd3c8cd6480429cc5651f1c463f153e6dae8e91
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
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690255

 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]