Fixed warning in vc++ 6

This commit is contained in:
Elias Naur 2004-03-23 10:19:20 +00:00
parent af6c61c241
commit b930b9d166
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}