httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: svn commit: r290672 - in /httpd/httpd/trunk/modules: database/ database/ database/config.m4 database/mod_dbd.c database/mod_dbd.h experimental/mod_dbd.c experimental/mod_dbd.h
Date Thu, 22 Sep 2005 09:39:04 GMT
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


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

View raw message