Commit d9b9c4cc authored by osku's avatar osku

mem_heap_cat(): Remove void* arithmetic.

parent 8c914630
......@@ -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);
}
......
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