From 7d368bd7a0b4e4baccbf0dffd460a6b18188ed10 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sat, 11 Dec 2010 07:09:07 +0000 Subject: [PATCH] missing cast SVN revision: 55487 --- legacy/eina/src/lib/eina_strbuf_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/eina/src/lib/eina_strbuf_common.c b/legacy/eina/src/lib/eina_strbuf_common.c index 91a37b16b5..6f7b6f33cd 100644 --- a/legacy/eina/src/lib/eina_strbuf_common.c +++ b/legacy/eina/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);