[gnome-desktop] thumbnailer: Fix a signed/unsigned comparison



commit 40ecc92f964540d4475febd96a7663f68fbdc3b1
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Thu Oct 10 14:21:46 2013 +0100

    thumbnailer: Fix a signed/unsigned comparison
    
    This shuts up a gcc warning but shouldn’t result in functional changes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=709819

 libgnome-desktop/gnome-desktop-thumbnail.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgnome-desktop/gnome-desktop-thumbnail.c b/libgnome-desktop/gnome-desktop-thumbnail.c
index 89f8dba..6c31a97 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail.c
@@ -336,7 +336,7 @@ _gdk_pixbuf_new_from_uri_at_scale (const char *uri,
 {
     gboolean result;
     guchar buffer[LOAD_BUFFER_SIZE];
-    gsize bytes_read;
+    gssize bytes_read;
     GdkPixbufLoader *loader = NULL;
     GdkPixbuf *pixbuf; 
     GdkPixbufAnimation *animation;


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