diff options
author | Tom Cherry <tomcherry@google.com> | 2018-10-07 19:43:47 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-10-07 19:43:47 +0200 |
commit | 70f3689a7062a52f82a64305459d9ab3d88c2c89 (patch) | |
tree | b9d7b398741c974cae1ab3cc4a026b9a95a0d07c | |
parent | Merge "Compare the fingerprint before reading the partition" (diff) | |
parent | Merge "Use only signed/unsigned numbers with ParseInt/ParseUint respectively" (diff) | |
download | android_bootable_recovery-70f3689a7062a52f82a64305459d9ab3d88c2c89.tar android_bootable_recovery-70f3689a7062a52f82a64305459d9ab3d88c2c89.tar.gz android_bootable_recovery-70f3689a7062a52f82a64305459d9ab3d88c2c89.tar.bz2 android_bootable_recovery-70f3689a7062a52f82a64305459d9ab3d88c2c89.tar.lz android_bootable_recovery-70f3689a7062a52f82a64305459d9ab3d88c2c89.tar.xz android_bootable_recovery-70f3689a7062a52f82a64305459d9ab3d88c2c89.tar.zst android_bootable_recovery-70f3689a7062a52f82a64305459d9ab3d88c2c89.zip |
-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; } |