aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c
index 2413c3f2d..c0d4a3f74 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -54,7 +54,7 @@ int strings_main(int argc, char **argv)
opt+=2;
break;
case 'n':
- n = bb_xgetlarg(optarg, 10, 1, LONG_MAX);
+ n = bb_xgetlarg(optarg, 10, 1, INT_MAX);
break;
default:
bb_show_usage();