optimize change from #131

This commit is contained in:
GutPuncher 2023-10-25 22:46:27 -04:00
parent 6104f8b905
commit 7ecfb59757
No known key found for this signature in database
GPG key ID: 38CE0A7B6841D1C7

View file

@ -13,13 +13,8 @@ I64 Str2I64(U8 *st, I64 radix=10, U8 **_end_ptr=NULL)
}
while (Bt(char_bmp_white_space, *st))
st++;
if (*st == '+')
st++;
else if (*st == '-')
{
neg = TRUE;
st++;
}
if (*st == '+' || *st == '-')
neg = *st++ == '-';
while (TRUE)
switch (*st)
{