]> granicus.if.org Git - php/commitdiff
- fix #34980, divisor and offset never passed correctly (s/float/double/)
authorPierre Joye <pajoye@php.net>
Tue, 25 Oct 2005 23:00:19 +0000 (23:00 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 25 Oct 2005 23:00:19 +0000 (23:00 +0000)
ext/gd/gd.c

index 96dba7ff5c70fa04790902a45fd53ce1ae1d22e5..0b8a2cc7d91852d9ba21850f1c64cfc389afa829 100644 (file)
@@ -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}};