From: Pierre Joye Date: Thu, 27 Oct 2005 11:07:39 +0000 (+0000) Subject: - MFB #34980, divisor and offset never passed correctly (s/float/double/) X-Git-Tag: RELEASE_2_0_1~149 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a160d34595275d4b1cedc51991e01614cf91db6;p=php - MFB #34980, divisor and offset never passed correctly (s/float/double/) --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 350a33beb6..7a78a9aed5 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -4184,7 +4184,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}};