sniper          Thu Sep 19 21:01:25 2002 EDT

  Modified files:              (Branch: PHP_4_2_0)
    /php4/ext/gd        gd.c 
  Log:
  MFH
  
  
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.179.2.3 php4/ext/gd/gd.c:1.179.2.4
--- php4/ext/gd/gd.c:1.179.2.3  Tue Sep  3 09:09:29 2002
+++ php4/ext/gd/gd.c    Thu Sep 19 21:01:24 2002
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.179.2.3 2002/09/03 13:09:29 sniper Exp $ */
+/* $Id: gd.c,v 1.179.2.4 2002/09/20 01:01:24 sniper Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, 
    Cold Spring Harbor Labs. */
@@ -3142,6 +3142,9 @@
        default:
                ZEND_WRONG_PARAM_COUNT();
        }
+
+       convert_to_string_ex(str);
+       convert_to_long_ex(sz);
 
        ZEND_FETCH_RESOURCE(bg_img, gdImagePtr, img, -1, "Image", le_gd);
        ZEND_FETCH_RESOURCE(f_ind, int *, fnt, -1, "Type 1 font", le_ps_font);



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

Reply via email to