nlopess         Sat Jan 13 11:22:44 2007 UTC

  Modified files:              
    /php-src/ext/gd/libgd       gd.c 
  Log:
  MFB
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd.c?r1=1.100&r2=1.101&diff_format=u
Index: php-src/ext/gd/libgd/gd.c
diff -u php-src/ext/gd/libgd/gd.c:1.100 php-src/ext/gd/libgd/gd.c:1.101
--- php-src/ext/gd/libgd/gd.c:1.100     Sat Jan 13 11:16:53 2007
+++ php-src/ext/gd/libgd/gd.c   Sat Jan 13 11:22:44 2007
@@ -2014,7 +2014,7 @@
        tiled = nc==gdTiled;
 
        nc =  gdImageTileGet(im,x,y);
-       pts = (char **) ecalloc(sizeof(char *) * im->sy, sizeof(char));
+       pts = (char **) ecalloc(im->sy, sizeof(char*));
 
        for (i=0; i<im->sy;i++) {
                pts[i] = (char *) ecalloc(im->sx, sizeof(char));

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

Reply via email to