From f7d27953cb87384601f77d5afc52e337bc39c575 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 24 Nov 2014 13:57:21 -0600 Subject: testsuites/.../tmacros.h: Add parentheses to fix warning --- testsuites/support/include/tmacros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/support/include') diff --git a/testsuites/support/include/tmacros.h b/testsuites/support/include/tmacros.h index 4524cf9eb7..2b0df83eff 100644 --- a/testsuites/support/include/tmacros.h +++ b/testsuites/support/include/tmacros.h @@ -56,8 +56,8 @@ extern "C" { #define check_dispatch_disable_level( _expect ) \ do { \ if ( (_expect) != -1 \ - && ((!_Thread_Dispatch_is_enabled() == false && (_expect) != 0) \ - || (!_Thread_Dispatch_is_enabled() && (_expect) == 0)) \ + && (((!_Thread_Dispatch_is_enabled()) == false && (_expect) != 0) \ + || ((!_Thread_Dispatch_is_enabled()) && (_expect) == 0)) \ ) { \ printk( \ "\n_Thread_Dispatch_disable_level is (%" PRId32 \ -- cgit v1.2.3