mirror of
https://github.com/guezoloic/libft.git
synced 2026-01-25 01:34:15 +00:00
fix: follow norminette norms
This commit is contained in:
@@ -10,9 +10,8 @@ void *ft_memchr(const void *s, int c, size_t n)
|
||||
while (i < n)
|
||||
{
|
||||
if ((unsigned char)c == ptr[i])
|
||||
return ((void*)(ptr+i));
|
||||
return ((void *)(ptr + i));
|
||||
i++;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return (NULL);
|
||||
}
|
||||
Reference in New Issue
Block a user