Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85859 - sandbox/multiprecision.cpp_bin_float/boost/multiprecision/cpp_bin_float
From: john_at_[hidden]
Date: 2013-09-23 14:08:44


Author: johnmaddock
Date: 2013-09-23 14:08:44 EDT (Mon, 23 Sep 2013)
New Revision: 85859
URL: http://svn.boost.org/trac/boost/changeset/85859

Log:
Fix warning.

Text files modified:
   sandbox/multiprecision.cpp_bin_float/boost/multiprecision/cpp_bin_float/io.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/multiprecision.cpp_bin_float/boost/multiprecision/cpp_bin_float/io.hpp
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/boost/multiprecision/cpp_bin_float/io.hpp Mon Sep 23 13:20:48 2013 (r85858)
+++ sandbox/multiprecision.cpp_bin_float/boost/multiprecision/cpp_bin_float/io.hpp 2013-09-23 14:08:44 EDT (Mon, 23 Sep 2013) (r85859)
@@ -88,7 +88,7 @@
       return -1;
    if(bit_test(what, location))
    {
- if(lsb(what) == location)
+ if((int)lsb(what) == location)
          return error ? -1 : 1; // Either a tie or can't round depending on whether we have any error
       if(!error)
          return 2; // no error, round up.


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