8038163: Build failure on Mac OS 10.9.2 (Mavericks) due to warning treated as error
Add parentheses to conditional expression to appease compiler. Reviewed-by: sla, alanb
This commit is contained in:
parent
a25bcf0ac0
commit
a9f20cb4c7
@ -288,7 +288,7 @@ static jboolean isVersionGte12x() {
|
||||
>> JVMTI_VERSION_SHIFT_MAJOR;
|
||||
minor = (version & JVMTI_VERSION_MASK_MINOR)
|
||||
>> JVMTI_VERSION_SHIFT_MINOR;
|
||||
return (major > 1 || major == 1 && minor >= 2);
|
||||
return (major > 1 || (major == 1 && minor >= 2)) ? JNI_TRUE : JNI_FALSE;
|
||||
} else {
|
||||
return JNI_FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user