summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-03-10 08:37:41 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-03-10 08:37:41 +0000
commit8e3611df8bb66b87dad2e73e5485b5aa49602a24 (patch)
tree78fefabac1a6d241a0b71729417ef3ad91c7b49d
parente2645463d77f57b3159c36f8e09f7342d1defb42 (diff)
parenta302d02ec76b646c4cd44123b7a6097567d1d62c (diff)
downloadapf-android11-qpr1-d-s1-release.tar.gz
Change-Id: I18659a2229b040726e099a8b9abbd956ced1e852
-rw-r--r--apf_run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apf_run.c b/apf_run.c
index 8597959..0b36b0e 100644
--- a/apf_run.c
+++ b/apf_run.c
@@ -237,7 +237,7 @@ int main(int argc, char* argv[]) {
case OPT_AGE:
errno = 0;
filter_age = strtoul(optarg, &endptr, 10);
- if ((errno == ERANGE && filter_age == ULONG_MAX) ||
+ if ((errno == ERANGE && filter_age == UINT32_MAX) ||
(errno != 0 && filter_age == 0)) {
perror("Error on age option: strtoul");
exit(1);