Full_Name: John Wilkins
Version: 2.8.1-1.3.19
OS: Compaq Tru64 4.0E
Submission from: (NULL) (204.186.46.20)


While compiling Apache 1.3.19 with mod_ssl-2.8.1-1.3.19 using gcc 2.8.1 under
Compaq Tru64 4.0E, I got the following warnings:

ssl_engine_kernel.c:803: warning: cast from pointer to integer of different
size

ssl_engine_kernel.c:807: warning: cast to pointer from integer of different
size

The lines in question make use of the AP_CTX_PTR2NUM and AP_CTX_NUM2PTR macros, 
which are defined in mod_ssl-2.8.1-1.3.19/pkg.eapi/ap_ctx.h

These macros are not 64-bit safe since pointers on Alpha machines are 64-bits
long but unsigned int's are only 32, thus the warning when casting either
direction.  The greatest concern, of course, would be PTR2NUM.  Provided that no
significance is lost, this problem is probably of low priority, right?
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to