1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Fix build on 64bit platforms;

This commit is contained in:
Tilman Keskinoz 2007-08-02 12:22:46 +00:00
parent 6dc653ccab
commit 0a0ef220ab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196956

View File

@ -0,0 +1,11 @@
--- src/Datastore.cpp.orig 2007-08-02 14:12:54.000000000 +0200
+++ src/Datastore.cpp 2007-08-02 14:13:28.000000000 +0200
@@ -447,7 +447,7 @@
bool DataStorage::AddPointer(char *name,void *data)
{
- return(AddEntry(name,1,4,(int)data));
+ return(AddEntry(name,1,4,(intptr_t)data));
}