Fix also the implementation of to_string(size_t) change
This commit is contained in:
parent
edc53de8cc
commit
919b7ce645
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user