mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 23:10:32 +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))
|
||||
st++;
|
||||
if (*st == '+')
|
||||
st++;
|
||||
else if (*st == '-')
|
||||
{
|
||||
neg = TRUE;
|
||||
st++;
|
||||
}
|
||||
if (*st == '+' || *st == '-')
|
||||
neg = *st++ == '-';
|
||||
while (TRUE)
|
||||
switch (*st)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue