Commit 630b0ecd authored by osku's avatar osku

mem_heap_cat(): Remove void* arithmetic.

parent 02ea7bc1
...@@ -144,7 +144,7 @@ mem_heap_cat( ...@@ -144,7 +144,7 @@ mem_heap_cat(
void* res = mem_heap_alloc(heap, len1 + len2); void* res = mem_heap_alloc(heap, len1 + len2);
memcpy(res, b1, len1); memcpy(res, b1, len1);
memcpy(res + len1, b2, len2); memcpy((char*)res + len1, b2, len2);
return(res); return(res);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment