Ticket #8748: boost_multiprecision_cpp_int_warning.patch

File boost_multiprecision_cpp_int_warning.patch, 436 bytes (added by Jan Bouwer <JBouwer@…>, 9 years ago)

Patch suggestion

  • multiprecision/cpp_int.hpp

    old new  
    16111611               }
    16121612            }
    16131613         }
    1614          unsigned n = result.find_first_not_of('0');
     1614         std::string::size_type n = result.find_first_not_of('0');
    16151615         result.erase(0, n);
    16161616         if(result.empty())
    16171617            result = "0";