From bea195a2e8d8e26af7511a65af4c8641cb4d1c4f Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Thu, 10 Sep 2020 17:28:06 +0200 Subject: Even better parse --- src/p_args.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/p_args.c') diff --git a/src/p_args.c b/src/p_args.c index a4b3d02..5276ae1 100644 --- a/src/p_args.c +++ b/src/p_args.c @@ -69,9 +69,9 @@ static uint16_t if (*ptr == C_BACKS) p_meet_bs(ptr, mode); if (*ptr == C_DQUOTE) - mode = u_meet_dquote((char*)word, ptr, mode); + mode = u_meet_dquote(word, ptr, mode); else if (*ptr == C_SQUOTE) - mode = u_meet_squote((char*)word, ptr, mode); + mode = u_meet_squote(word, ptr, mode); if (ft_iswhitespace(*ptr) && p_meet_whitespace((char*)word, ptr, mode) == TRUE) { -- cgit v1.2.3