hi, can anyone tell me how to get around these problems?
the two problems is:
1. dereferencing "void *"-pointer
2. the value of the type void is not ignored, as it should.
thanks!Code:/*realloc: change size of the allocated memoryblock*/ void *realloc(void *oldp, size_t size) { if (*oldp == NULL){ /*if NULL then use malloc*/ return(malloc(size)); }