diff options
Diffstat (limited to '')
-rw-r--r-- | src/b_cd.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -11,7 +11,6 @@ /* ************************************************************************** */ #include <libft.h> -#include <stdint.h> #include <unistd.h> #ifdef __linux__ # include <linux/limits.h> @@ -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) |