missing cast
authorcaro <caro>
Sat, 11 Dec 2010 07:09:07 +0000 (07:09 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 11 Dec 2010 07:09:07 +0000 (07:09 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@55487 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/eina_strbuf_common.c

index 91a37b1..6f7b6f3 100644 (file)
@@ -192,7 +192,7 @@ _eina_strbuf_common_insert_length(size_t csize,
            (buf->len - pos) * csize);
 
    /* and now insert the given string */
-   memcpy(buf->buf + (pos * csize), str, len * csize);
+   memcpy((unsigned char *)buf->buf + (pos * csize), str, len * csize);
 
    buf->len += len;
    memset(((unsigned char *)(buf->buf)) + (buf->len * csize), 0, csize);