Commit 526f21ae authored by gabime's avatar gabime

Fixed #902

parent f1e79bde
......@@ -1114,7 +1114,7 @@ private:
auto digit = static_cast<size_t>(*it - '0');
width = width * 10 + digit;
}
return details::padding_info{std::min(width, max_width), side};
return details::padding_info{std::min<size_t>(width, max_width), side};
}
void compile_pattern_(const std::string &pattern)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment