From 0555df293e5a6843c54d6c95d6ee8e300d37f271 Mon Sep 17 00:00:00 2001 From: clay_shooter Date: Wed, 14 Mar 2012 03:04:12 +0000 Subject: [PATCH] SF3436102 convert 32 bit memory pointers to 64 bit where not already converted. --- jni/SafeArray.cpp | 2 +- jni/Variant.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jni/SafeArray.cpp b/jni/SafeArray.cpp index 2e53a46..f6f74f6 100644 --- a/jni/SafeArray.cpp +++ b/jni/SafeArray.cpp @@ -190,7 +190,7 @@ JNIEXPORT void JNICALL Java_com_jacob_com_SafeArray_destroy jfieldID jf = env->GetFieldID(saClass, V_FLD, "J"); VariantClear(v); delete v; - env->SetIntField(_this, jf, 0ll); + env->SetLongField(_this, jf, 0ll); } } diff --git a/jni/Variant.cpp b/jni/Variant.cpp index 735775d..ab118ad 100644 --- a/jni/Variant.cpp +++ b/jni/Variant.cpp @@ -67,7 +67,7 @@ JNIEXPORT void JNICALL Java_com_jacob_com_Variant_release } VariantClear(v); delete v; - env->SetIntField(_this, jf, (unsigned int)0); + env->SetLongField(_this, jf, 0ll); } }