Snap for 6309275 from a6499083ed25bf2590e8358a9b062edc8ef16c13 to r-keystone-qcom-release

Change-Id: Iabb916a444f834e3bd3d627d50b69bc1775e8c06
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 @@
             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);