projects
/
profile
/
ivi
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f421a76
)
missing cast
author
caro
<caro>
Sat, 11 Dec 2010 07:09:07 +0000
(07:09 +0000)
committer
caro
<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
patch
|
blob
|
history
diff --git
a/src/lib/eina_strbuf_common.c
b/src/lib/eina_strbuf_common.c
index
91a37b1
..
6f7b6f3
100644
(file)
--- 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);