X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flexicalcast.cpp;h=9ba642f2ae48bebe826c226ef98b8604e4c49114;hb=0ac97daad8d24f6762e1b870fec782c7aace695a;hp=cdd55780b5f612ee86cce7db6beee8c64d80502f;hpb=f9e0275e476540c1b5d61c03a6a87d521856059b;p=libs%2Fcore.git diff --git a/source/lexicalcast.cpp b/source/lexicalcast.cpp index cdd5578..9ba642f 100644 --- a/source/lexicalcast.cpp +++ b/source/lexicalcast.cpp @@ -305,7 +305,7 @@ string flt_to_str(T v, const Fmt &f) } // Apply rounding - w+=5.0l/pow(10.0l, digits); + w+=5.0l/pow(10.0l, static_cast(digits)); if(w>10) { // Rounding bumped us to the next exponent, deal with it