cvs: php-src /ext/gd gd.c

From: Date: Mon, 22 Sep 2008 15:30:59 +0000
Subject: cvs: php-src /ext/gd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-53248@lists.php.net to get a copy of this message
rrichards Mon Sep 22 15:30:59 2008 UTC Modified files: /php-src/ext/gd gd.c Log: sz is long not zval** http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.393&r2=1.394&diff_format=u Index: php-src/ext/gd/gd.c diff -u php-src/ext/gd/gd.c:1.393 php-src/ext/gd/gd.c:1.394 --- php-src/ext/gd/gd.c:1.393 Fri Aug 29 11:09:05 2008 +++ php-src/ext/gd/gd.c Mon Sep 22 15:30:59 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.393 2008/08/29 11:09:05 pajoye Exp $ */ +/* $Id: gd.c,v 1.394 2008/09/22 15:30:59 rrichards Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -4231,10 +4231,10 @@ /* printf("%d %d %d %d\n", str_bbox.llx, str_bbox.lly, str_bbox.urx, str_bbox.ury); */ - add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*Z_LVAL_PP(sz)/1000)); - add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*Z_LVAL_PP(sz)/1000)); - add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*Z_LVAL_PP(sz)/1000)); - add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*Z_LVAL_PP(sz)/1000)); + add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000)); + add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000)); + add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000)); + add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000)); } /* }}} */ #endif

« previous php.cvs (#53248) next »