summaryrefslogtreecommitdiff
path: root/libgnome-desktop/gnome-desktop-thumbnail.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-10-10 14:21:46 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2013-10-14 09:40:50 +0100
commit40ecc92f964540d4475febd96a7663f68fbdc3b1 (patch)
tree3bb19ed9a1ca14326024b18eed8d4acf108189da /libgnome-desktop/gnome-desktop-thumbnail.c
parent29c1bc757f34f1d0b32bc12fcc682faba05b8509 (diff)
downloadgnome-desktop-40ecc92f964540d4475febd96a7663f68fbdc3b1.tar.gz
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
Diffstat (limited to 'libgnome-desktop/gnome-desktop-thumbnail.c')
-rw-r--r--libgnome-desktop/gnome-desktop-thumbnail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgnome-desktop/gnome-desktop-thumbnail.c b/libgnome-desktop/gnome-desktop-thumbnail.c
index 89f8dbaf..6c31a976 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;