diff --git a/src/port.h b/src/port.h index 993b43ad2d826b5be925e8bbc2b3d5a8ec569f3e..66beab0b6383ccf0a9818dd0bfc76ad4ad315fe6 100644 --- a/src/port.h +++ b/src/port.h @@ -65,7 +65,7 @@ char *MEMCPY(char *b,const char *a,int s); # define __builtin_memcpy MEMCPY # endif #else -# define MEMCPY memcpy +# define MEMCPY(X,Y,Z) memcpy((char*)(X),(char*)(Y),(Z)) #endif #ifndef HAVE_MEMMOVE