aboutsummaryrefslogtreecommitdiffstats
path: root/www/aria/files/patch-src::gui_download.cc
blob: be338bf8a8918c50814c49e389004f6354e9dc4b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/gui_download.cc.orig	2002-10-01 17:32:00.000000000 +0200
+++ src/gui_download.cc	2007-08-02 14:02:21.000000000 +0200
@@ -24,7 +24,7 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <sys/socket.h>
-#include <pair.h>
+//#include <pair.h>
 #include <list>
 #include <algorithm>
 #include "aria.h"
@@ -131,7 +131,7 @@
 static void Backup_selection_list(GtkWidget *clist, list<int>& selection_temp)
 {
   for(GList* node = GTK_CLIST(clist)->selection; node != NULL; node = g_list_next(node)) {
-    selection_temp.push_back((int)node->data);
+    selection_temp.push_back((intptr_t)node->data);
   }
 }