This commit is contained in:
kinou 2020-12-11 18:52:04 +01:00
parent 13d2b153ab
commit 36ee00be39

View File

@ -6,7 +6,7 @@
/* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */ /* By: apommier <apommier@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2020/11/29 00:12:32 by apommier #+# #+# */ /* Created: 2020/11/29 00:12:32 by apommier #+# #+# */
/* Updated: 2020/12/11 18:50:20 by apommier ### ########.fr */ /* Updated: 2020/12/11 18:51:57 by apommier ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -20,7 +20,7 @@ char *ft_strchr(const char *s, int c)
while ((*str != c) || (*str != 0)) while ((*str != c) || (*str != 0))
str++; str++;
if (*str == c) if (*str == c)
return ((char)str); return ((char*)str);
else else
return (0); return (0);
} }