summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include/tmacros.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-24 13:57:21 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-11-24 13:57:21 -0600
commitf7d27953cb87384601f77d5afc52e337bc39c575 (patch)
treecef411fb4408384422fc175d4b9ee20991f4a21b /testsuites/support/include/tmacros.h
parenti2c: Fix endian issue (diff)
downloadrtems-f7d27953cb87384601f77d5afc52e337bc39c575.tar.bz2
testsuites/.../tmacros.h: Add parentheses to fix warning
Diffstat (limited to 'testsuites/support/include/tmacros.h')
-rw-r--r--testsuites/support/include/tmacros.h4
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 \