summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2018-10-05 23:37:13 +0200
committerTom Cherry <tomcherry@google.com>2018-10-05 23:37:13 +0200
commit04e4afb9cf71783b231d94deb0f7d504424e65e5 (patch)
tree14e78188bfb343c6f3644066b551620a3263fb06 /updater
parentMerge "Reland: "recovery_test_component: Add libbinderthreadstate as static dependency."" (diff)
downloadandroid_bootable_recovery-04e4afb9cf71783b231d94deb0f7d504424e65e5.tar
android_bootable_recovery-04e4afb9cf71783b231d94deb0f7d504424e65e5.tar.gz
android_bootable_recovery-04e4afb9cf71783b231d94deb0f7d504424e65e5.tar.bz2
android_bootable_recovery-04e4afb9cf71783b231d94deb0f7d504424e65e5.tar.lz
android_bootable_recovery-04e4afb9cf71783b231d94deb0f7d504424e65e5.tar.xz
android_bootable_recovery-04e4afb9cf71783b231d94deb0f7d504424e65e5.tar.zst
android_bootable_recovery-04e4afb9cf71783b231d94deb0f7d504424e65e5.zip
Diffstat (limited to 'updater')
-rw-r--r--updater/blockimg.cpp2
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;
}