Use size_t instead of gint, it silents a signed vs unsigned warning.
authorLaurent Monin <geeqie@norz.org>
Tue, 20 May 2008 22:13:48 +0000 (22:13 +0000)
committerLaurent Monin <geeqie@norz.org>
Tue, 20 May 2008 22:13:48 +0000 (22:13 +0000)
src/ui_fileops.c

index aa40697..a914dd6 100644 (file)
@@ -398,7 +398,7 @@ gint copy_file(const gchar *s, const gchar *t)
        FILE *fo = NULL;
        gchar *sl, *tl;
        gchar buf[4096];
-       gint b;
+       size_t b;
 
        sl = path_from_utf8(s);
        tl = path_from_utf8(t);