aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-10-30 18:07:21 +0100
committerCharles <sircharlesaze@gmail.com>2019-10-30 18:07:21 +0100
commit22f334a19cabebf10727d7894102946ba23d0e37 (patch)
treefd323ff0dbb8fc06a00c8c26dfc6fbd3b5ae0910 /main.c
parent001786c8ec464b1ae3e6321acfd984227cb1bbee (diff)
downloadft_printf-22f334a19cabebf10727d7894102946ba23d0e37.tar.gz
ft_printf-22f334a19cabebf10727d7894102946ba23d0e37.tar.bz2
ft_printf-22f334a19cabebf10727d7894102946ba23d0e37.zip
Fixed %d segfault, merge hex_* in hex, fixed c = 0
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.c b/main.c
index 937b063..d848b62 100644
--- a/main.c
+++ b/main.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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); */