I have the following error when compiling a C file:
t_memmove.c: In function ‘ft_memmove’: ft_memmove.c:19: warning: comparison of unsigned expression >=
Arithmetic on unsigned results in an unsigned and that's why you are getting this warning. Better to change n - i >= 0 to n >= i.
unsigned
n - i >= 0
n >= i