mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
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
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 New Issue
Block a user