diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-24 13:57:21 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-11-24 13:57:21 -0600 |
commit | f7d27953cb87384601f77d5afc52e337bc39c575 (patch) | |
tree | cef411fb4408384422fc175d4b9ee20991f4a21b /testsuites/support/include/tmacros.h | |
parent | i2c: Fix endian issue (diff) | |
download | rtems-f7d27953cb87384601f77d5afc52e337bc39c575.tar.bz2 |
testsuites/.../tmacros.h: Add parentheses to fix warning
Diffstat (limited to '')
-rw-r--r-- | testsuites/support/include/tmacros.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 \ |