]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/libc-extension.cc
patch::: 1.3.38.jcn1
[lilypond.git] / flower / libc-extension.cc
index 7903dd230b01ee93429d74d90757f3ab7f47a3c1..a06704b1823d9c7f5dfb3dfc523f747e93b20955 100644 (file)
@@ -76,8 +76,8 @@ void *
 memmem (void const *haystack, int haystack_len,
        void const *needle,int needle_len)
 {
-  Byte const* haystack_byte_c_l = haystack;
-  Byte const* needle_byte_c_l = needle;
+  Byte const* haystack_byte_c_l = (Byte const*)haystack;
+  Byte const* needle_byte_c_l = (Byte const*)needle;
   return _memmem (haystack_byte_c_l, haystack_len, needle_byte_c_l, needle_len);
 }