format: don't accidentally cast local variable types
This commit is contained in:
parent
a36991fc83
commit
f33ec13b50
@ -788,7 +788,7 @@ namespace util::format::detail {
|
||||
"0123456789abcdef";
|
||||
|
||||
char buffer[numerals];
|
||||
size_t remain = numerals;
|
||||
auto remain = numerals;
|
||||
|
||||
for (auto cursor = buffer; remain--; t /= spec.base)
|
||||
*cursor++ = NUMERALS[t % spec.base];
|
||||
|
Loading…
Reference in New Issue
Block a user