commit: 643e65f1a087edb84bda6e938e24a341020a4a32
parent de66de6c58a2e5978b17678716079c093d78ecfa
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 10 Apr 2024 08:50:34 +0200
cmd/strings: Change LLONG_{MIN,MAX} to the appropriate LONG_{MIN,MAX}
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmd/strings.c b/cmd/strings.c
@@ -132,13 +132,13 @@ main(int argc, char *argv[])
usage();
return 1;
}
- if(opt_min_strlen == LLONG_MIN || opt_min_strlen < 1)
+ if(opt_min_strlen == LONG_MIN || opt_min_strlen < 1)
{
fprintf(stderr, "strings: Option `-n %s` is too small\n", optarg);
usage();
return 1;
}
- if(opt_min_strlen == LLONG_MAX || opt_min_strlen > 4096)
+ if(opt_min_strlen == LONG_MAX || opt_min_strlen > 4096)
{
fprintf(stderr, "strings: Option `-n %s` is too large\n", optarg);
usage();