Fixed warning in vc++ 6
This commit is contained in:
parent
af6c61c241
commit
b930b9d166
|
@ -188,5 +188,5 @@ bool getBooleanProperty(JNIEnv *env, const char* propertyName) {
|
|||
jstring property = env->NewStringUTF(propertyName);
|
||||
jclass booleanClass = env->FindClass("java/lang/Boolean");
|
||||
jmethodID getBoolean = env->GetStaticMethodID(booleanClass, "getBoolean", "(Ljava/lang/String;)Z");
|
||||
return env->CallStaticBooleanMethod(booleanClass, getBoolean, property);
|
||||
return env->CallStaticBooleanMethod(booleanClass, getBoolean, property)? true : false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue