summaryrefslogtreecommitdiffstats
path: root/src/b_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/b_exit.c')
-rw-r--r--src/b_exit.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/b_exit.c b/src/b_exit.c
index 113313d..11a72a3 100644
--- a/src/b_exit.c
+++ b/src/b_exit.c
@@ -12,7 +12,6 @@
#include <libft.h>
#include <stdlib.h>
-#include <stdint.h>
#include <unistd.h>
#include "f_fail.h"
@@ -25,10 +24,10 @@
** TODO: handle non-numeric args[0]
*/
-uint8_t b_exit(char *args[], t_msh *msh)
+unsigned char b_exit(char *args[], t_msh *msh)
{
- uint8_t ret;
- const uint64_t argc = u_builtins_get_argc((const char**)args);
+ unsigned char ret;
+ const unsigned long argc = u_builtins_get_argc((const char**)args);
if (argc > 1)
{