Branch: Tag:

2014-12-04

2014-12-04 19:26:00 by Martin Nilsson <nilsson@opera.com>

Free takes void* and doesn't need any cast anymore.

4064:    free_string(ctx->empty_repl);    }    } -  free ((char *) ctx->v); +  free (ctx->v);    ctx->v = NULL;    }   }
5178:    order = stable_sort_array_destructively(a);    for(e=1;e<args;e++) order_array(Pike_sp[e-args].u.array,order);    pop_n_elems(args-1); -  free((char *)order); +  free(order);    }    else {    /* If there are only simple types in the array we can use unstable