Fix build on 64bit platforms
This commit is contained in:
parent
7cce08de36
commit
321dbc4528
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196952
1 changed files with 11 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
--- src/gui_download.cc.orig Wed Oct 2 00:32:00 2002
|
||||
+++ src/gui_download.cc Thu Apr 8 22:55:40 2004
|
||||
--- 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>
|
||||
|
@ -9,3 +9,12 @@
|
|||
#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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue