Fix also the implementation of to_string(size_t) change

This commit is contained in:
Maxime Coste 2018-05-21 20:01:19 +10:00
parent edc53de8cc
commit 919b7ce645

View File

@ -146,10 +146,10 @@ InplaceString<23> to_string(long long int val)
return res; return res;
} }
InplaceString<23> to_string(size_t val) InplaceString<23> to_string(unsigned long val)
{ {
InplaceString<23> res; InplaceString<23> res;
res.m_length = sprintf(res.m_data, "%zu", val); res.m_length = sprintf(res.m_data, "%lu", val);
return res; return res;
} }