summaryrefslogtreecommitdiffstats
path: root/src/p_args_next.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/p_args_next.c')
-rw-r--r--src/p_args_next.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/p_args_next.c b/src/p_args_next.c
index 6fd6b08..ea8dd81 100644
--- a/src/p_args_next.c
+++ b/src/p_args_next.c
@@ -12,6 +12,7 @@
#include <libft.h>
#include <stdint.h>
+#include <limits.h>
#include "d_define.h"
#include "p_args.h"
@@ -49,7 +50,7 @@ uint16_t
const uint16_t argc,
const size_t start[])
{
- char tmp[4096];
+ char tmp[ARG_MAX];
uint16_t i;
i = 0;