From: Alexis Laferrière Date: Thu, 23 Jul 2015 17:54:20 +0000 (-0400) Subject: ffi/java: pointers are stored as `long` so they grow with the architecture X-Git-Tag: v0.7.7~8^2~32 X-Git-Url: http://nitlanguage.org?ds=sidebyside ffi/java: pointers are stored as `long` so they grow with the architecture Signed-off-by: Alexis Laferrière --- diff --git a/src/ffi/java.nit b/src/ffi/java.nit index da641a5..dd32712 100644 --- a/src/ffi/java.nit +++ b/src/ffi/java.nit @@ -457,7 +457,7 @@ redef class MType # JNI type name (in C) # # So this is a C type, usually defined in `jni.h` - private fun jni_type: String do return "jint" + private fun jni_type: String do return "long" # JNI short type name (for signatures) #