Fix incompatible pointer warning

This commit is contained in:
Anatol Belski 2018-02-01 16:52:18 +01:00
parent 8c977c3430
commit 674c1ea7dc

View File

@ -657,7 +657,11 @@ static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t s
const __m128i *end = (const __m128i*)((const char*)src + size);
do {
#ifdef PHP_WIN32
_mm_prefetch((const char *)(dqsrc + 4), _MM_HINT_NTA);
#else
_mm_prefetch(dqsrc + 4, _MM_HINT_NTA);
#endif
__m128i xmm0 = _mm_load_si128(dqsrc + 0);
__m128i xmm1 = _mm_load_si128(dqsrc + 1);