- Byte const* haystack_byte_c_l = haystack;
- Byte const* needle_byte_c_l = needle;
- return _memmem (haystack_byte_c_l, haystack_len, needle_byte_c_l, needle_len);
+ unsigned char const *haystack_byte_c = (unsigned char const *)haystack;
+ unsigned char const *needle_byte_c = (unsigned char const *)needle;
+ return _memmem (haystack_byte_c, haystack_len, needle_byte_c, needle_len);