apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: svn commit: r412252 - /apr/apr-util/trunk/dbd/apr_dbd_sqlite2.c
Date Wed, 07 Jun 2006 11:50:06 GMT
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


Mime
View raw message