From 874ef49bff90ce144383efed0e69508586ff0d51 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 8 Feb 2020 03:11:02 +0100 Subject: Added ft_list_sort.s tests and school headers on all files --- helper_list.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'helper_list.c') diff --git a/helper_list.c b/helper_list.c index 5ab94be..cfeb9f3 100644 --- a/helper_list.c +++ b/helper_list.c @@ -1,3 +1,15 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* helper_list.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/08 03:07:14 by cacharle #+# #+# */ +/* Updated: 2020/02/08 03:07:15 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + #include "libasm_test.h" int* @@ -92,7 +104,7 @@ list_print(t_list *list) { while (list != NULL) { - printf("[%p] -> ", (int*)list->data); + printf("[%d] -> ", *(int*)list->data); list = list->next; } printf("(null)"); -- cgit