agagniere / Libft

Implementation of standard functions
MIT License
4 stars 0 forks source link

Norm problem #2

Closed agagniere closed 7 years ago

agagniere commented 7 years ago

For some reasons the file src/ft_stream/is_refresh.c is believed not to compile by the Norminette, while it compiles fine, with no warnings at all.

agagniere commented 7 years ago

Fixed thanks to ngoguey. The norm cannot handle : (type *)malloc(MACRO * sizeof(type)) Instead one should write : (type *)malloc(sizeof(type) * MACRO) Pretty dumb huh ?