summaryrefslogtreecommitdiff
path: root/ACE/ace/Time_Value.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Time_Value.inl')
-rw-r--r--ACE/ace/Time_Value.inl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Time_Value.inl b/ACE/ace/Time_Value.inl
index a1cde15dcf3..25346ad2506 100644
--- a/ACE/ace/Time_Value.inl
+++ b/ACE/ace/Time_Value.inl
@@ -61,8 +61,8 @@ ACE_Time_Value::set (time_t sec, suseconds_t usec)
this->tv_.tv_sec = sec;
this->tv_.tv_usec = usec;
#if __GNUC__
- if (__builtin_constant_p(sec) &&
- __builtin_constant_p(usec) &&
+ if ((__builtin_constant_p(sec) &
+ __builtin_constant_p(usec)) &&
(sec >= 0 && usec >= 0 && usec < ACE_ONE_SECOND_IN_USECS))
return;
#endif