changeset 39509:f89a933b7f45

8157476: -Wlogical-not-parentheses warnings in JRSUIConstantSync.m Reviewed-by: serb
author dlsmith
date Wed, 08 Jun 2016 16:27:02 -0600
parents b18e54dcaf69
children b61e0e7ee904
files jdk/src/java.desktop/macosx/native/libosxui/JRSUIConstantSync.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.desktop/macosx/native/libosxui/JRSUIConstantSync.m	Wed Jun 08 09:56:56 2016 +0530
+++ b/jdk/src/java.desktop/macosx/native/libosxui/JRSUIConstantSync.m	Wed Jun 08 16:27:02 2016 -0600
@@ -90,7 +90,7 @@
     apple_laf_JRSUIConstants_ ## clazz ## __ ## constant
 
 #define CONSTANT_CHECK(clazz, constant)                                \
-    JRS_CONSTANT(clazz, constant) == JNI_CONSTANT(clazz, constant)
+    ( JRS_CONSTANT(clazz, constant) == JNI_CONSTANT(clazz, constant) )
 
 #define CONSISTENCY_CHECK(clazz, constant)                            \
     if ( !CONSTANT_CHECK(clazz, constant) ) return NO;