top(1): shift from atoi to non-deprecated function
This commit is contained in:
parent
704daa9b87
commit
c655e639c2
@ -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