From c5aae008dee36276154882d8fd56c3bdeb473474 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 27 Oct 2020 19:59:20 +0100 Subject: Now norme --- src/b_cd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/b_cd.c') diff --git a/src/b_cd.c b/src/b_cd.c index 887266e..a4dbba6 100644 --- a/src/b_cd.c +++ b/src/b_cd.c @@ -11,7 +11,6 @@ /* ************************************************************************** */ #include -#include #include #ifdef __linux__ # include @@ -107,9 +106,9 @@ static void b_upgrade_pwd(const char path[], t_msh *msh) f_alloc_and_destroy_msh(msh); } -uint8_t b_cd(char *args[], t_msh *msh) +unsigned char b_cd(char *args[], t_msh *msh) { - const uint64_t argc = u_builtins_get_argc((const char**)args); + const unsigned long argc = u_builtins_get_argc((const char**)args); char path[PATH_MAX]; if (argc >= 2) -- cgit v1.2.3