missing cast

SVN revision: 55487
This commit is contained in:
Vincent Torri 2010-12-11 07:09:07 +00:00
parent bd8506e727
commit 7d368bd7a0
1 changed files with 1 additions and 1 deletions

View 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);