Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4815 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71460 invoked by uid 1010); 13 Oct 2003 12:37:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71436 invoked from network); 13 Oct 2003 12:37:23 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by pb1.pair.com with SMTP; 13 Oct 2003 12:37:23 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h9DCbNM31756 for ; Mon, 13 Oct 2003 08:37:23 -0400 Received: from lacrosse.corp.redhat.com (lacrosse.corp.redhat.com [172.16.52.154]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h9DCbNr11792 for ; Mon, 13 Oct 2003 08:37:23 -0400 Received: from radish.cambridge.redhat.com (radish.cambridge.redhat.com [172.16.18.90]) by lacrosse.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h9DCbMJ22958 for ; Mon, 13 Oct 2003 08:37:22 -0400 Received: from radish.cambridge.redhat.com (localhost.localdomain [127.0.0.1]) by radish.cambridge.redhat.com (8.12.10/8.12.7) with ESMTP id h9DCbMSV030466 for ; Mon, 13 Oct 2003 13:37:22 +0100 Received: (from jorton@localhost) by radish.cambridge.redhat.com (8.12.10/8.12.10/Submit) id h9DCbL1U030465 for internals@lists.php.net; Mon, 13 Oct 2003 13:37:21 +0100 Date: Mon, 13 Oct 2003 13:37:21 +0100 To: internals@lists.php.net Message-ID: <20031013123721.GA23208@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: [PATCH] sapi/cgi fix force_redirect type From: jorton@redhat.com (Joe Orton) 4.3/sapi/cgi/cgi_main.c: In function `main': 4.3/sapi/cgi/cgi_main.c:1080: warning: passing arg 2 of `cfg_get_long' from incompatible pointer type real bug, could do nasty things on LP64 platforms: --- sapi/cgi/cgi_main.c 21 Sep 2003 22:08:13 -0000 1.190.2.49 +++ sapi/cgi/cgi_main.c 13 Oct 2003 12:28:23 -0000 @@ -956,7 +956,7 @@ zend_llist global_vars; int interactive=0; #if FORCE_CGI_REDIRECT - int force_redirect = 1; + long force_redirect = 1; char *redirect_status_env = NULL; #endif