Update base/base/itoa.h

Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
This commit is contained in:
Robert Schulze 2022-09-01 10:31:34 +02:00 committed by GitHub
parent de64c6b103
commit bfa67ffc8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -352,7 +352,7 @@ static inline char * writeUIntText(T x, char * p)
static_assert(is_unsigned_v<T>); static_assert(is_unsigned_v<T>);
int len = digits10(x); int len = digits10(x);
auto *pp = p + len; auto * pp = p + len;
while (x >= 100) while (x >= 100)
{ {
const auto i = x % 100; const auto i = x % 100;