]> spindle.queued.net Git - midori/commitdiff
Use a signed counter variable when copying history
authorChristian Dywan <christian@twotoasts.de>
Fri, 31 Jul 2009 10:31:41 +0000 (12:31 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 31 Jul 2009 10:31:41 +0000 (12:31 +0200)
midori/midori-browser.c

index 7ea432907bbf8da057a28514e3e0e47eb1039efe..e0f1701355313b48dadda89d83e0373a2503ae94 100644 (file)
@@ -1098,7 +1098,7 @@ midori_browser_view_copy_history (GtkWidget* view_to,
     WebKitWebView* copy_to;
     WebKitWebBackForwardList* list_to;
     guint length_from;
-    guint i;
+    gint i;
 
     copy_from = WEBKIT_WEB_VIEW (gtk_bin_get_child (GTK_BIN (view_from)));
     list_from = webkit_web_view_get_back_forward_list (copy_from);