* Sander Striker wrote: >> From: Sander Temme [mailto:[EMAIL PROTECTED] >> Sent: Thursday, July 03, 2003 7:02 PM > >> on 7/3/03 9:07, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: >> >>> - char *buff = (char *) malloc(postlen + reqlen + 1); >>> + char *buff = malloc(postlen + reqlen + 1); >> >> Whyfor did you get rid of the cast? This may give you compiler warnings on >> some platforms. > > Only with broken compilers. You don't need to cast from void * with C.
And further a cast may *hide* a useful warning (if malloc isn't prototyped). nd