From apwww@hyperreal.org Fri Aug 22 01:44:58 1997 Received: (from apwww@localhost) by hyperreal.org (8.8.5/8.8.5) id BAA02160; Fri, 22 Aug 1997 01:44:58 -0700 (PDT) Message-Id: <199708220844.BAA02160@hyperreal.org> Date: Fri, 22 Aug 1997 01:44:58 -0700 (PDT) From: Achim Bohnet Reply-To: ach@mpe.mpg.de To: apbugs@hyperreal.org Subject: Compiler warnings: cast from pointer to integer of different size X-Send-Pr-Version: 3.2 >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 >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Aug 22 01:50:01 1997 >Last-Modified: Fri Aug 22 08:09:27 PDT 1997 >Originator: ach@mpe.mpg.de >Organization: >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: State-Changed-From-To: open-analyzed State-Changed-By: Lars.Eilebrecht@unix-ag.org State-Changed-When: Fri Aug 22 05:06:03 PDT 1997 State-Changed-Why: This is a known problem and will be fixed in one of the next versions. None of the warnings are fatal. State-Changed-From-To: analyzed-closed State-Changed-By: Lars.Eilebrecht@unix-ag.org State-Changed-When: Fri Aug 22 08:09:27 PDT 1997 State-Changed-Why: The warnings are already fixed in the current Apache 1.3 source tree. >Unformatted: