Brian Candler wrote: > > Hmm. Given the example > > pid = (pid_t)((long)apr_hash_get(script_hash, &cgid_req.conn_id, > sizeof(cgid_req.conn_id))); > > then it's no good declaring variable 'pid' to be of type apr_intptr_t rather > than pid_t, because somewhere down the line it will be passed to a function > which expects a pid_t argument, and you'll get a warning there instead. Are > you saying it should be written as >
The above line just confuses me, but I haven't taken the time to try to understand the rationale for why it's written the way it is. -- ======================================================================= Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "If you can dodge a wrench, you can dodge a ball."
