Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a4d234d authored by Tom Cherry's avatar Tom Cherry Committed by Gerrit Code Review
Browse files

Merge "Use only signed/unsigned numbers with ParseInt/ParseUint respectively"

parents 81da8b12 04e4afb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
  }