httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: cvs commit: httpd-2.0/support ab.c
Date Thu, 03 Jul 2003 17:06:45 GMT
> From: Sander Temme [mailto:sctemme@covalent.net]
> Sent: Thursday, July 03, 2003 7:02 PM

> on 7/3/03 9:07, nd@apache.org at nd@apache.org 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.


Sander

Mime
View raw message