|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77358 - trunk/libs/timer/src
From: bdawes_at_[hidden]
Date: 2012-03-17 09:06:57
Author: bemandawes
Date: 2012-03-17 09:06:57 EDT (Sat, 17 Mar 2012)
New Revision: 77358
URL: http://svn.boost.org/trac/boost/changeset/77358
Log:
Clear compiler warning
Text files modified:
trunk/libs/timer/src/cpu_timer.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/timer/src/cpu_timer.cpp
==============================================================================
--- trunk/libs/timer/src/cpu_timer.cpp (original)
+++ trunk/libs/timer/src/cpu_timer.cpp 2012-03-17 09:06:57 EDT (Sat, 17 Mar 2012)
@@ -136,7 +136,7 @@
# else
tms tm;
clock_t c = ::times(&tm);
- if (c == -1) // error
+ if (c == static_cast<clock_t>(-1)) // error
{
current.system = current.user = boost::timer::nanosecond_type(-1);
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk