diff options
Diffstat (limited to '')
-rw-r--r-- | updater/blockimg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp index 838845673..47849a155 100644 --- a/updater/blockimg.cpp +++ b/updater/blockimg.cpp @@ -109,7 +109,7 @@ static bool ParseLastCommandFile(size_t* last_command_index) { return false; } - if (!android::base::ParseInt(lines[0], last_command_index)) { + if (!android::base::ParseUint(lines[0], last_command_index)) { LOG(ERROR) << "Failed to parse integer in: " << lines[0]; return false; } |