On Wed, 2006-06-07 at 12:44 +0100, Joe Orton wrote:

> Another useful thing that can be done in general is to do e.g.
> 
> static apr_status_t blah(void *data)
> {
>    char *foo = data;
>    the_function(foo)
> 
> since passing a variable of the right type to the function rather than 
> just void * gives better type-safety.

Is this something that inherent in C spec, or is it something that some
compilers tend to screw up?

-- 
Bojan

Reply via email to