Fix a cast in JniEnv::NewDirectByteBuffer.

(cherry picked from commit 1abc689a32fc20b38227060e4da5e0934df8fc19)

Change-Id: I89c8544d77721aaa5ae192087e8873d3d64d5f3b
diff --git a/vm/Jni.cpp b/vm/Jni.cpp
index f235835..e571ad8 100644
--- a/vm/Jni.cpp
+++ b/vm/Jni.cpp
@@ -2739,7 +2739,7 @@
     jobject result = addLocalReference(ts.self(), newObj);
     JValue unused;
     dvmCallMethod(ts.self(), gDvm.methJavaNioDirectByteBuffer_init,
-            newObj, &unused, (jint) address, (jint) capacity);
+            newObj, &unused, (jlong) address, (jint) capacity);
     if (dvmGetException(ts.self()) != NULL) {
         deleteLocalReference(ts.self(), result);
         return NULL;