summaryrefslogtreecommitdiffstats
path: root/src/b_sqb_nbr.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
commitc5aae008dee36276154882d8fd56c3bdeb473474 (patch)
treea40740914847ebf39a5f8cb3acf6a48c8b9d61ef /src/b_sqb_nbr.c
parentTODO update (diff)
download42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.gz
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.bz2
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.xz
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.zst
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.zip
Now norme
Diffstat (limited to '')
-rw-r--r--src/b_sqb_nbr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/b_sqb_nbr.c b/src/b_sqb_nbr.c
index 0f96e82..0e2ab73 100644
--- a/src/b_sqb_nbr.c
+++ b/src/b_sqb_nbr.c
@@ -11,11 +11,10 @@
/* ************************************************************************** */
#include <libft.h>
-#include <stdint.h>
#include "d_define.h"
-static t_bool b_sqb_nbr_tests(uint8_t id, int32_t n1, int32_t n2)
+static t_bool b_sqb_nbr_tests(unsigned char id, int n1, int n2)
{
if (id == B_ID_SQB_EQ && n1 == n2)
return (TRUE);
@@ -32,7 +31,7 @@ static t_bool b_sqb_nbr_tests(uint8_t id, int32_t n1, int32_t n2)
return (FALSE);
}
-uint8_t b_sqb_nbr(uint8_t id, char *argv[])
+unsigned char b_sqb_nbr(unsigned char id, char *argv[])
{
if (b_sqb_nbr_tests(id, ft_atoi(argv[0]), ft_atoi(argv[2])) == TRUE)
return (0);