From 6b0ec1bccc84f444278df0b4c486048af0e48442 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Wed, 20 Mar 2002 14:31:58 +0000 Subject: Warning fixes. --- libbackground/preview-file-selection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbackground') diff --git a/libbackground/preview-file-selection.c b/libbackground/preview-file-selection.c index c6661c61f..720c8b790 100644 --- a/libbackground/preview-file-selection.c +++ b/libbackground/preview-file-selection.c @@ -132,8 +132,8 @@ preview_file_selection_intelligent_scale (GdkPixbuf *buf, guint scale) { GdkPixbuf *scaled; int w, h; - int ow = gdk_pixbuf_get_width (buf); - int oh = gdk_pixbuf_get_height (buf); + guint ow = gdk_pixbuf_get_width (buf); + guint oh = gdk_pixbuf_get_height (buf); if (ow <= scale && oh <= scale) scaled = gdk_pixbuf_ref (buf); -- cgit v1.2.1