Merge "Use only signed/unsigned numbers with ParseInt/ParseUint respectively"
This commit is contained in:
commit
6b39f9d475
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ uid_t llkProcGetUid(pid_t tid) {
|
|||
}
|
||||
content.erase(pos);
|
||||
uid_t ret;
|
||||
if (!android::base::ParseInt(content, &ret, uid_t(0))) {
|
||||
if (!android::base::ParseUint(content, &ret, uid_t(0))) {
|
||||
return -1;
|
||||
}
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue