aboutsummaryrefslogtreecommitdiffstats
path: root/editors/MathPlanner
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2007-08-02 20:22:46 +0800
committerarved <arved@FreeBSD.org>2007-08-02 20:22:46 +0800
commit1eefeb38b357a5cb73b6a797818f3c8ca0787445 (patch)
tree6015efa133e87ee5d109d4a32f5baf89617d3b28 /editors/MathPlanner
parent3263a27f546d623ea707d12eae979f5fc9f1fbcf (diff)
downloadfreebsd-ports-gnome-1eefeb38b357a5cb73b6a797818f3c8ca0787445.tar.gz
freebsd-ports-gnome-1eefeb38b357a5cb73b6a797818f3c8ca0787445.tar.zst
freebsd-ports-gnome-1eefeb38b357a5cb73b6a797818f3c8ca0787445.zip
Fix build on 64bit platforms;
Diffstat (limited to 'editors/MathPlanner')
-rw-r--r--editors/MathPlanner/files/patch-Datastore.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/MathPlanner/files/patch-Datastore.cpp b/editors/MathPlanner/files/patch-Datastore.cpp
new file mode 100644
index 000000000000..17c61f1fbddf
--- /dev/null
+++ b/editors/MathPlanner/files/patch-Datastore.cpp
@@ -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));
+ }
+
+