Index: src/string.cpp =================================================================== --- src/string.cpp +++ src/string.cpp @@ -91,7 +91,7 @@ { // Use long as no Standard string to integer exists. long r = as_integer_helper( func, s, idx, base, strtol ); - if (r < numeric_limits::min() || numeric_limits::max() < r) + if (r < ((numeric_limits::min())) || ((numeric_limits::max())) < r) throw_from_string_out_of_range(func); return static_cast(r); } @@ -136,7 +136,7 @@ { // Use long as no Stantard string to integer exists. long r = as_integer_helper( func, s, idx, base, wcstol ); - if (r < numeric_limits::min() || numeric_limits::max() < r) + if (r < ((numeric_limits::min())) || ((numeric_limits::max())) < r) throw_from_string_out_of_range(func); return static_cast(r); }