commit | 1a4d234daa26f3954633fd55037193f2827fb36c | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Sun Oct 07 17:31:34 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Sun Oct 07 17:31:34 2018 +0000 |
tree | b9d7b398741c974cae1ab3cc4a026b9a95a0d07c | |
parent | 81da8b12d23a44cb9422260903354adaf68803ee [diff] | |
parent | 04e4afb9cf71783b231d94deb0f7d504424e65e5 [diff] |
Merge "Use only signed/unsigned numbers with ParseInt/ParseUint respectively"
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; }