Snap for 5054090 from 10db3854bb1ea79f1a165b178b78f380e93a944b to qt-release
Change-Id: Ia670779bd7fd6c536702b96dd437b20ae2d6b47c
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp
index 8388456..47849a1 100644
--- a/updater/blockimg.cpp
+++ b/updater/blockimg.cpp
@@ -109,7 +109,7 @@
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;
}