mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-27 14:46:02 +00:00
optimize change from #131
This commit is contained in:
parent
6104f8b905
commit
7ecfb59757
1 changed files with 2 additions and 7 deletions
|
@ -13,13 +13,8 @@ I64 Str2I64(U8 *st, I64 radix=10, U8 **_end_ptr=NULL)
|
||||||
}
|
}
|
||||||
while (Bt(char_bmp_white_space, *st))
|
while (Bt(char_bmp_white_space, *st))
|
||||||
st++;
|
st++;
|
||||||
if (*st == '+')
|
if (*st == '+' || *st == '-')
|
||||||
st++;
|
neg = *st++ == '-';
|
||||||
else if (*st == '-')
|
|
||||||
{
|
|
||||||
neg = TRUE;
|
|
||||||
st++;
|
|
||||||
}
|
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
switch (*st)
|
switch (*st)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue