Branch: Tag:

2014-04-27

2014-04-27 20:37:42 by Martin Nilsson <nilsson@opera.com>

mallocs nowdays return void*, so no need to case.

437:   void push_Xpseudo32bitstring(void *f, int nelems) {    if (sizeof(long)!=4) {    long *q=(long *)f; -  int *res=(int *)xalloc(nelems*4),i; +  int *res=xalloc(nelems*4),i;    for (i=0; i<nelems; i++)    res[i]=q[i];    push_string(make_shared_binary_string2((const p_wchar2 *)res,nelems));