From 1dacd1257ed117a8c04f283e3a662cda9bda539f Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 3 Oct 2016 20:13:50 +0200 Subject: Added cast to silence win32 warnings * ACE/ace/Time_Value.cpp: --- ACE/ace/Time_Value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ACE/ace/Time_Value.cpp b/ACE/ace/Time_Value.cpp index 0cad794c554..e33d73ef35c 100644 --- a/ACE/ace/Time_Value.cpp +++ b/ACE/ace/Time_Value.cpp @@ -181,7 +181,7 @@ ACE_Time_Value::normalize (bool saturate) this->tv_.tv_usec <= -ACE_ONE_SECOND_IN_USECS) { time_t sec = std::abs(this->tv_.tv_usec) / ACE_ONE_SECOND_IN_USECS * (this->tv_.tv_usec > 0 ? 1 : -1); - suseconds_t usec = this->tv_.tv_usec - sec * ACE_ONE_SECOND_IN_USECS; + suseconds_t usec = static_cast (this->tv_.tv_usec - sec * ACE_ONE_SECOND_IN_USECS); if (saturate && this->tv_.tv_sec > 0 && sec > 0 && ACE_Numeric_Limits::max() - this->tv_.tv_sec < sec) -- cgit v1.2.1