Merge "Use only signed/unsigned numbers with ParseInt/ParseUint respectively" am: 1a4d234daa

am: 70f3689a70

Change-Id: I81b1e5607314be9ddfc4cf9c49648bb6f7fd2374
This commit is contained in:
Tom Cherry
2018-10-07 10:50:55 -07:00
committed by android-build-merger
+1 -1
View File
@@ -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;
}