aboutsummaryrefslogtreecommitdiff
path: root/helper_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'helper_list.c')
-rw-r--r--helper_list.c14
1 files changed, 13 insertions, 1 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* 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)");