parent
bd8506e727
commit
7d368bd7a0
|
@ -192,7 +192,7 @@ _eina_strbuf_common_insert_length(size_t csize,
|
||||||
(buf->len - pos) * csize);
|
(buf->len - pos) * csize);
|
||||||
|
|
||||||
/* and now insert the given string */
|
/* 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;
|
buf->len += len;
|
||||||
memset(((unsigned char *)(buf->buf)) + (buf->len * csize), 0, csize);
|
memset(((unsigned char *)(buf->buf)) + (buf->len * csize), 0, csize);
|
||||||
|
|
Loading…
Reference in New Issue