1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

Merge pull request #1797 from t-b/fix-integer-truncation

iteration_proxy: Fix integer truncation from std::size_t to int
This commit is contained in:
Niels Lohmann
2019-10-17 21:02:48 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@ -3277,7 +3277,7 @@ namespace nlohmann
namespace detail
{
template<typename string_type>
void int_to_string( string_type& target, int value )
void int_to_string( string_type& target, std::size_t value )
{
target = std::to_string(value);
}