summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_uintlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_uintlen.c')
-rw-r--r--libft/src/ft_uintlen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libft/src/ft_uintlen.c b/libft/src/ft_uintlen.c
index da5be7b..990e36c 100644
--- a/libft/src/ft_uintlen.c
+++ b/libft/src/ft_uintlen.c
@@ -12,13 +12,12 @@
#include <inttypes.h>
-uint8_t
- ft_uintlen(unsigned long n)
+uint8_t ft_uintlen(unsigned long n)
{
uint8_t len;
len = 0;
- if (!n)
+ if (n == 0)
return (1);
while (n != 0)
{