From 22f334a19cabebf10727d7894102946ba23d0e37 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 30 Oct 2019 18:07:21 +0100 Subject: Fixed %d segfault, merge hex_* in hex, fixed c = 0 --- main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 937b063..d848b62 100644 --- a/main.c +++ b/main.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/28 04:25:09 by cacharle #+# #+# */ -/* Updated: 2019/10/30 03:15:22 by cacharle ### ########.fr */ +/* Updated: 2019/10/30 17:35:44 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -18,8 +18,7 @@ int main() { int test; - printf("%d\n", ft_printf("%", 4)); - printf("%d\n", printf("aa%bb", 4)); + ft_printf("%.37ld", -22337203685477l); /* ft_printf("char: %c\n", 'r'); */ /* ft_printf("string: %s\n", "bonjour"); */ /* ft_printf("pointer: %p\n", &test); */ -- cgit