top(1): shift from atoi to non-deprecated function
This commit is contained in:
parent
2a1aedb39e
commit
f49614e3b1
@ -47,7 +47,7 @@ atoiwi(const char *str)
|
||||
}
|
||||
else
|
||||
{
|
||||
return(atoi(str));
|
||||
return((int)strtol(str, NULL, 10));
|
||||
}
|
||||
}
|
||||
return(0);
|
||||
|
Loading…
Reference in New Issue
Block a user