cvs: php4 /main output.c

From: Date: Thu, 22 Aug 2002 10:52:40 +0000
Subject: cvs: php4 /main output.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13560@lists.php.net to get a copy of this message
helly Thu Aug 22 06:52:40 2002 EDT Modified files: /php4/main output.c Log: fix warning Index: php4/main/output.c diff -u php4/main/output.c:1.114 php4/main/output.c:1.115 --- php4/main/output.c:1.114 Tue Aug 20 23:04:17 2002 +++ php4/main/output.c Thu Aug 22 06:52:40 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: output.c,v 1.114 2002/08/21 03:04:17 helly Exp $ */ +/* $Id: output.c,v 1.115 2002/08/22 10:52:40 helly Exp $ */ #include "php.h" #include "ext/standard/head.h" @@ -119,7 +119,7 @@ { uint buffer_size = (uint)(PG(output_buffering) > 1 ? PG(output_buffering) : 4096); if (OG(ob_nesting_level)==0 && PG(double_buffering)!=0) { - buffer_size = (uint)(PG(double_buffering) >= buffer_size ? PG(double_buffering) : 4*buffer_size); + buffer_size = (uint)(PG(double_buffering)) >= buffer_size ? (uint)(PG(double_buffering)) : 4*buffer_size; } return buffer_size; }

« previous php.cvs (#13560) next »