diff options
Diffstat (limited to 'storage/innobase/mem')
-rw-r--r-- | storage/innobase/mem/mem0mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/mem/mem0mem.c b/storage/innobase/mem/mem0mem.c index 3c42c1d0fff..d26e4be3f88 100644 --- a/storage/innobase/mem/mem0mem.c +++ b/storage/innobase/mem/mem0mem.c @@ -144,7 +144,7 @@ mem_heap_cat( void* res = mem_heap_alloc(heap, len1 + len2); memcpy(res, b1, len1); - memcpy(res + len1, b2, len2); + memcpy((char *)res + len1, b2, len2); return(res); } |