Fix build on 64bit platforms
This commit is contained in:
parent
d3254fecb9
commit
b30403e798
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197025
1 changed files with 20 additions and 0 deletions
20
x11-toolkits/vdk/files/patch-vdk-vdkclist.cc
Normal file
20
x11-toolkits/vdk/files/patch-vdk-vdkclist.cc
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- vdk/vdkclist.cc.orig 2007-08-03 16:19:09.000000000 +0200
|
||||
+++ vdk/vdkclist.cc 2007-08-03 16:20:09.000000000 +0200
|
||||
@@ -26,7 +26,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
-
|
||||
+#include <sys/types.h>
|
||||
#include "vdk/vdkclist.h"
|
||||
#include "vdk/forms.h"
|
||||
#include <cstring>
|
||||
@@ -377,7 +377,7 @@
|
||||
// load array;
|
||||
WideSelection = VDKIntArray(listSize);
|
||||
for(t = 0; t < WideSelection.size();t++,list = list->next)
|
||||
- WideSelection[t] = (int) list->data;
|
||||
+ WideSelection[t] = (intptr_t) list->data;
|
||||
}
|
||||
return WideSelection;
|
||||
}
|
Loading…
Reference in a new issue