httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Morris <>
Subject Re: Type casting int to pointer and back again
Date Wed, 28 Oct 1998 02:46:19 GMT
On Tue, 27 Oct 1998, Bill Stoddard wrote:

> One solution would be to change the void * to an int. This solution is
> more restrictive (only have an int to play with, not a struct) and would
> break any third party modules that use cmd_data as a pointer. A  better
> solution might be to keep cmd_data as a void* and make changes to
> http_core to use the field as a pointer (to ints). Thoughts?

I wonder if it might be worth looking at the type casting facilities used
by GTK+ ( as an example for a general solution.

- James.
James Morris

View raw message