pajoye          Mon May  2 05:39:28 2005 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/ext/gd     gd.c 
  Log:
  - MFH (#32893, imagettf crashes)
    uses long for zval
  
  
http://cvs.php.net/diff.php/php-src/ext/gd/gd.c?r1=1.221.2.54&r2=1.221.2.55&ty=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.221.2.54 php-src/ext/gd/gd.c:1.221.2.55
--- php-src/ext/gd/gd.c:1.221.2.54      Mon Jan 17 12:07:57 2005
+++ php-src/ext/gd/gd.c Mon May  2 05:39:26 2005
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.221.2.54 2005/01/17 17:07:57 sniper Exp $ */
+/* $Id: gd.c,v 1.221.2.55 2005/05/02 09:39:26 pajoye Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, 
    Cold Spring Harbor Labs. */
@@ -3017,7 +3017,8 @@
 {
        zval *IM, *EXT = NULL;
        gdImagePtr im=NULL;
-       int col = -1, x = -1, y = -1, str_len, fontname_len, i, brect[8];
+       long col = -1, x = -1, y = -1;
+       int str_len, fontname_len, i, brect[8];
        double ptsize, angle;
        unsigned char *str = NULL, *fontname = NULL;
        char *error = NULL;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to