On Thursday 22 September 2005 09:43, Joe Orton wrote:
> And another for x86_64:
>
> cc1: warnings being treated as errors
> mod_dbd.c: In function `dbd_param':
> mod_dbd.c:74: warning: cast from pointer to integer of different size
Hmmm.
Bearing in mind where those values come from, is there a risk of trouble?
It's basically casting an enum to void in:
AP_INIT_TAKE1("DBDriver", dbd_param, (void*)cmd_name, RSRC_CONF,
"SQL Driver"),
and casting back in
switch ((int)cmd->info) { /* this is line 74 */
case cmd_name:
...
}
I'd expect that to have size and byte-order issues over RPC, but not in
a single architecture. Unless you know otherwise?
Any suggestions that don't add bloat?
--
Nick Kew