Skip to content

Commit

Permalink
fix memchr compile
Browse files Browse the repository at this point in the history
  • Loading branch information
0x050f committed Feb 27, 2021
1 parent 8ef937d commit 7a82f44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Part1_functions/ft_memchr/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: jtoty <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/02/28 12:01:40 by jtoty #+# #+# */
/* Updated: 2019/11/14 02:05:36 by mle-floc ### ########.fr */
/* Updated: 2021/02/27 01:45:19 by lmartin ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -78,7 +78,7 @@ int main(int argc, const char *argv[])
{
int tab[7] = {-49, 49, 1, -1, 0, -2, 2};

printf("%s", ft_memchr(tab, -1, 7));
printf("%s", (char *)ft_memchr(tab, -1, 7));
}
return (0);
}

0 comments on commit 7a82f44

Please sign in to comment.