>Number:         1039
>Category:       os-osf
>Synopsis:       Compiler warnings: cast from pointer to integer of different 
>size
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Aug 22 01:50:01 1997
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.2.3
>Environment:
OSF1 o09 V4.0 564 alpha
gcc-2.7.2.2
>Description:
Under certain circumstances a 64 bit pointer to 32bit integer convertion
could be cirtical.   Apache 1.2.3 runs okay are far as I see but how knows ...

gcc -c   -O2 -DOSF1 -DSTATUS   alloc.c
alloc.c: In function `fd_cleanup':
alloc.c:784: warning: cast from pointer to integer of different size
alloc.c: In function `note_cleanups_for_fd':
alloc.c:787: warning: cast to pointer from integer of different size
alloc.c: In function `kill_cleanups_for_fd':
alloc.c:792: warning: cast to pointer from integer of different size
alloc.c: In function `pclosef':
alloc.c:820: warning: cast to pointer from integer of different size
gcc -c   -O2 -DOSF1 -DSTATUS   http_main.c
gcc -c   -O2 -DOSF1 -DSTATUS   http_core.c
http_core.c: In function `set_server_string_slot':
http_core.c:847: warning: cast from pointer to integer of different size
gcc -c   -O2 -DOSF1 -DSTATUS   http_config.c
http_config.c: In function `set_string_slot':
http_config.c:705: warning: cast from pointer to integer of different size
http_config.c: In function `set_flag_slot':
http_config.c:714: warning: cast from pointer to integer of different size
...
gcc -c   -O2 -DOSF1 -DSTATUS   mod_dir.c
mod_dir.c: In function `add_opts_int':
mod_dir.c:184: warning: cast to pointer from integer of different size
mod_dir.c: In function `find_opts':
mod_dir.c:401: warning: cast from pointer to integer of different size
...
gcc -c   -O2 -DOSF1 -DSTATUS   mod_alias.c
mod_alias.c: In function `add_redirect':
mod_alias.c:140: warning: cast from pointer to integer of different size
gcc -c   -O2 -DOSF1 -DSTATUS   mod_rewrite.c
mod_rewrite.c: In function `rewritelog':
mod_rewrite.c:2400: warning: cast from pointer to integer of different size
mod_rewrite.c:2400: warning: cast from pointer to integer of different size
...
gcc -c   -O2 -DOSF1 -DSTATUS   mod_browser.c
mod_browser.c: In function `add_browser':
mod_browser.c:101: warning: cast from pointer to integer of different size
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:


Reply via email to