summaryrefslogtreecommitdiff
path: root/www/aria/files/patch-src__gui_download.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/aria/files/patch-src__gui_download.cc')
-rw-r--r--www/aria/files/patch-src__gui_download.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/aria/files/patch-src__gui_download.cc b/www/aria/files/patch-src__gui_download.cc
new file mode 100644
index 000000000000..be338bf8a891
--- /dev/null
+++ b/www/aria/files/patch-src__gui_download.cc
@@ -0,0 +1,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);
+ }
+ }
+