pajoye Thu Oct 27 07:07:40 2005 EDT Modified files: /php-src/ext/gd gd.c Log: - MFB #34980, divisor and offset never passed correctly (s/float/double/) http://cvs.php.net/diff.php/php-src/ext/gd/gd.c?r1=1.317&r2=1.318&ty=u Index: php-src/ext/gd/gd.c diff -u php-src/ext/gd/gd.c:1.317 php-src/ext/gd/gd.c:1.318 --- php-src/ext/gd/gd.c:1.317 Wed Oct 26 17:35:56 2005 +++ php-src/ext/gd/gd.c Thu Oct 27 07:07:39 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.317 2005/10/26 21:35:56 tony2001 Exp $ */ +/* $Id: gd.c,v 1.318 2005/10/27 11:07:39 pajoye Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -4184,7 +4184,7 @@ zval *SIM, *hash_matrix; pval **var = NULL, **var2 = NULL; gdImagePtr im_src = NULL; - float div, offset; + double div, offset; int nelem, i, j, res; float matrix[3][3] = {{0,0,0}, {0,0,0}, {0,0,0}};
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php