diff --git a/llkd/libllkd.cpp b/llkd/libllkd.cpp index 58c2ba8d2..6840ed09b 100644 --- a/llkd/libllkd.cpp +++ b/llkd/libllkd.cpp @@ -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;