Branch: Tag:

2014-09-03

2014-09-03 18:41:39 by Martin Nilsson <nilsson@opera.com>

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)