summaryrefslogtreecommitdiff
path: root/apf_run.c
diff options
context:
space:
mode:
Diffstat (limited to 'apf_run.c')
-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);