summaryrefslogtreecommitdiffstats
path: root/bindings/java
diff options
context:
space:
mode:
authorJerome Schneider <jschneider@entrouvert.com>2009-04-09 16:55:39 +0000
committerJerome Schneider <jschneider@entrouvert.com>2009-04-09 16:55:39 +0000
commit699f72e5687537dd4eded52fbe636a270a0f0580 (patch)
treed5c77a33b8312483b1fa8f2774c2842c71a6e1be /bindings/java
parentff1898352074ea8e6ab5fb5bb377618e7f8cf68f (diff)
downloadlasso-699f72e5687537dd4eded52fbe636a270a0f0580.tar.gz
lasso-699f72e5687537dd4eded52fbe636a270a0f0580.tar.xz
lasso-699f72e5687537dd4eded52fbe636a270a0f0580.zip
Fix build issues on amd64 / gcc 4.3
* bindings/java/lang.py: fix cast issue * bindings/python/wrapper_top.c fix type issue * lasso/registry.c fix cast issue
Diffstat (limited to 'bindings/java')
-rw-r--r--bindings/java/lang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/java/lang.py b/bindings/java/lang.py
index 72dcdd78..9e93dfd8 100644
--- a/bindings/java/lang.py
+++ b/bindings/java/lang.py
@@ -535,7 +535,7 @@ protected static native void destroy(long cptr);
# Return
if m.return_type:
if m.name.endswith('_new'):
- print >> fd, ' ret = (jlong)(int) return_value;'
+ print >> fd, ' ret = (jlong)(ptrdiff_t) return_value;'
else:
options = {}
if m.return_owner: