memcpy() replaced with memmove() in bitmap alloc

not used by default
This commit is contained in:
z3APA3A committed 2015-11-29 12:20:35 +03:00
1 parent 62775da1d5
commit 271d9bb91a
1 file changed
+1 -1
+1 -1
View File
@@ -332,7 +332,7 @@ void *myrealloc(void *ptr, size_t size){
if(size <= memsizes[l]) return ptr;
p = myalloc(size);
if(p){
memcpy(p,ptr,size);
memmove(p,ptr,size);
myfree(ptr);
}
return p;