summaryrefslogtreecommitdiffstats
path: root/src/p_args.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/p_args.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/p_args.c b/src/p_args.c
index d005947..f50d52b 100644
--- a/src/p_args.c
+++ b/src/p_args.c
@@ -11,7 +11,6 @@
/* ************************************************************************** */
#include <libft.h>
-#include <stdint.h>
#include <stdlib.h>
#include "d_define.h"
@@ -53,9 +52,9 @@ static char *p_skip_whitespace(char *ptr)
** TODO: quotes parse error
*/
-static uint16_t p_count_args(const char word[],
+static unsigned short p_count_args(const char word[],
size_t start[],
- uint16_t count,
+ unsigned short count,
t_quote_mode mode)
{
char *ptr;
@@ -88,8 +87,8 @@ char **p_split_args(char word[])
{
size_t start[512];
char **words;
- uint16_t argc;
- uint16_t to_del;
+ unsigned short argc;
+ unsigned short to_del;
words = NULL;
argc = p_count_args(word, start, 1, Q_NONE);