From: Pierre Joye Date: Tue, 25 Oct 2005 23:00:19 +0000 (+0000) Subject: - fix #34980, divisor and offset never passed correctly (s/float/double/) X-Git-Tag: php-5.1.0RC4~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af888a4807b220886e209435b623c12fa4b94a60;p=php - fix #34980, divisor and offset never passed correctly (s/float/double/) --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 96dba7ff5c..0b8a2cc7d9 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -4197,7 +4197,7 @@ PHP_FUNCTION(imageconvolution) 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}};