--- callbacks.c.orig 2005-12-07 21:00:28.000000000 -0700 +++ callbacks.c 2005-12-07 21:01:33.000000000 -0700 @@ -591,13 +591,13 @@ { GList *tmp = GTK_CLIST(curr_view->clist)->selection; FileInfo *info; - gint row; + glong row; gtk_signal_emit_by_name(GTK_OBJECT(curr_view->clist), "end-selection"); for (; tmp != NULL; tmp = tmp->next) { - row = (gint)tmp->data; + row = (glong)tmp->data; info = gtk_clist_get_row_data(GTK_CLIST(curr_view->clist), row); if (g_list_find(curr_view->tagged, info) != NULL) { @@ -651,7 +651,8 @@ void find_cb(GtkWidget *widget) { gchar *s, *pattern; - gint i, last; + gint i; + glong last; gtk_widget_set_sensitive(app.main_window, FALSE); disable_refresh(); @@ -665,7 +666,7 @@ pattern = g_strdup_printf("*%s*", s); if (GTK_CLIST(curr_view->clist)->selection != NULL) { - last = (gint)GTK_CLIST(curr_view->clist)->selection->data; + last = (glong)GTK_CLIST(curr_view->clist)->selection->data; if (last == (GTK_CLIST(curr_view->clist)->rows - 1)) i = 0; else