From 624986c99fde1f2613571f408e189bcd2d0f12b0 Mon Sep 17 00:00:00 2001 From: caro Date: Sat, 11 Dec 2010 07:09:07 +0000 Subject: [PATCH] missing cast git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@55487 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eina_strbuf_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eina_strbuf_common.c b/src/lib/eina_strbuf_common.c index 91a37b1..6f7b6f3 100644 --- a/src/lib/eina_strbuf_common.c +++ b/src/lib/eina_strbuf_common.c @@ -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); -- 2.7.4