From a3089d50002878070b016a7fa4ecd7f5ae3476dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Thu, 23 Jul 2015 13:54:20 -0400 Subject: [PATCH] ffi/java: pointers are stored as `long` so they grow with the architecture MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- src/ffi/java.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) # -- 1.7.9.5