pike.git/
src/
array.h
Branch:
Tag:
Non-build tags
All tags
No tags
2014-09-03
2014-09-03 18:41:39 by Martin Nilsson <nilsson@opera.com>
c9d3974ffd4786bb477a9e85573ef531ebe2f563 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
8.0
Don't cast memcpy void* arguments.
259:
} END_ACCEPT_UNFINISHED_TYPE_FIELDS; \ /* Unless the user does something, the type field will contain */ \ /* BIT_MIXED|BIT_UNFINISHED from the allocation above. */ \
-
memcpy(
(char *) (
ITEM(base_sval[-1].u.array) + oldsize__
)
,
\
-
(char
*)
base_sval, diff__ * sizeof(struct svalue)); \
+
memcpy(ITEM(base_sval[-1].u.array) + oldsize__,
\
+
base_sval, diff__ * sizeof(struct svalue));
\
Pike_sp = base_sval; \ } \ } while (0)