Am Donnerstag, 26. April 2007 16:43 schrieb Steve Peters: > - long * const out_array = mem_sys_allocate((sizeof (long)) * (arraylen > + 1)); + long * const out_array = (long *)mem_sys_allocate((sizeof > (long)) * (arraylen + 1));
I don't understand the rational for such patches nor the mem_allocate_.*typed wrappers. malloc(3) and friends are returning a (void *) pointer, a type which fits all memory related (i.e. non-function) pointers. Did I miss something? leo