diff --git a/src/functional/string_strchr.c b/src/functional/string_strchr.c index 883db91..718649a 100644 --- a/src/functional/string_strchr.c +++ b/src/functional/string_strchr.c @@ -10,7 +10,7 @@ static void *aligned(void *p) static void *aligncpy(void *p, size_t len, size_t a) { - return memcpy(aligned(buf)+a, p, len); + return memcpy((char*)aligned(buf)+a, p, len); } #define N(s, c) { \