pajoye          Tue Oct 25 19:00:22 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src/ext/gd     gd.c 
  Log:
  - fix #34980, divisor and offset never passed correctly (s/float/double/)
  
  
http://cvs.php.net/diff.php/php-src/ext/gd/gd.c?r1=1.312.2.1&r2=1.312.2.2&ty=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.312.2.1 php-src/ext/gd/gd.c:1.312.2.2
--- php-src/ext/gd/gd.c:1.312.2.1       Thu Oct  6 16:47:40 2005
+++ php-src/ext/gd/gd.c Tue Oct 25 19:00:19 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.312.2.1 2005/10/06 20:47:40 iliaa Exp $ */
+/* $Id: gd.c,v 1.312.2.2 2005/10/25 23:00:19 pajoye Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
    Cold Spring Harbor Labs. */
@@ -4197,7 +4197,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

Reply via email to