fix compilation error on newer clang version, fix some norm errors and start doing show_alloc_mem_ex function

This commit is contained in:
2025-02-14 19:38:42 +01:00
parent 561211f709
commit f5b2f8b8bf
14 changed files with 123 additions and 32 deletions

View File

@ -6,7 +6,7 @@
/* By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/30 18:46:07 by tomoron #+# #+# */
/* Updated: 2024/12/10 19:13:55 by tomoron ### ########.fr */
/* Updated: 2025/02/14 17:20:17 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -51,8 +51,8 @@ int get_prev_alloc(t_alloc **alloc, t_alloc **res, t_alloc *cur, char *fnc)
*alloc = cur;
*res = prev;
}
if(*res)
return(1);
if (*res)
return (1);
prev = cur;
cur = cur->next;
}