fix __movsb typecast error MSVC
This commit is contained in:
parent
6c92690914
commit
4c45793ec1
@ -183,7 +183,10 @@ bool _mi_page_is_valid(mi_page_t* page);
|
||||
#include <intrin.h>
|
||||
#define _mi_memcpy _mi_memcpy_rep_movsb
|
||||
static inline void _mi_memcpy_rep_movsb (void *d, const void *s, size_t n) {
|
||||
__movsb(d, s, n);
|
||||
unsigned char* Destination = (unsigned char*) d;
|
||||
unsigned const char* Source = (unsigned const char*) s;
|
||||
size_t Count = n;
|
||||
__movsb(Destination, Source, Count);
|
||||
return;
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user