]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/libjorte/JORTEDomainInitEvents.c
JORTE: add 64-bit support
[orte.git] / orte / libjorte / JORTEDomainInitEvents.c
index f457d26ba22c53cb20544b5afd36a1f3969a1274..4ec2f37f604f52b843589444cb581dd1296edae8 100644 (file)
@@ -34,7 +34,7 @@
 #include "jorte/org_ocera_orte_types_DomainEvents.h"
 #include "jorte/4all.h"
 
-JNIEXPORT jint JNICALL
+JNIEXPORT jlong JNICALL
 Java_org_ocera_orte_types_DomainEvents_jORTEDomainInitEvents
 (JNIEnv *env, jclass cls)
 {
@@ -58,6 +58,6 @@ Java_org_ocera_orte_types_DomainEvents_jORTEDomainInitEvents
      printf(":c: events initialized.. \n");
   #endif
 
-  return ((jint) evs);
+  return ((jlong) evs);
 
 }