Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84922 - trunk/boost/multiprecision
From: john_at_[hidden]
Date: 2013-07-01 11:47:11


Author: johnmaddock
Date: 2013-07-01 11:47:11 EDT (Mon, 01 Jul 2013)
New Revision: 84922
URL: http://svn.boost.org/trac/boost/changeset/84922

Log:
Change to use std::string::size_type rather than unsigned.
Fixes #8748.

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

Modified: trunk/boost/multiprecision/cpp_int.hpp
==============================================================================
--- trunk/boost/multiprecision/cpp_int.hpp Mon Jul 1 11:43:28 2013 (r84921)
+++ trunk/boost/multiprecision/cpp_int.hpp 2013-07-01 11:47:11 EDT (Mon, 01 Jul 2013) (r84922)
@@ -1611,7 +1611,7 @@
                }
             }
          }
- unsigned n = result.find_first_not_of('0');
+ std::string::size_type n = result.find_first_not_of('0');
          result.erase(0, n);
          if(result.empty())
             result = "0";


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