]> granicus.if.org Git - php/commitdiff
- MFB #34980, divisor and offset never passed correctly (s/float/double/)
authorPierre Joye <pajoye@php.net>
Thu, 27 Oct 2005 11:07:39 +0000 (11:07 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 27 Oct 2005 11:07:39 +0000 (11:07 +0000)
ext/gd/gd.c

index 350a33beb6f69c6eb177181a92b79ebff86a5a2d..7a78a9aed507bbf897797300494e1de07c3bd065 100644 (file)
@@ -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}};