com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/gd/gd.c ext/gd/libgd/gdft.c
| From: | Christoph Michael Becker | Date: | Mon, 19 Sep 2016 23:25:08 +0000 |
| Subject: | com php-src: Merge branch 'PHP-5.6' into PHP-7.0: ext/gd/gd.c ext/gd/libgd/gdft.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94594@lists.php.net to get a copy of this message | ||
Commit: ba2d9e1ff112f783cb930eaff5a2ecbc358421df
Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 20 Sep 2016 01:25:08 +0200
Parents: ca24c58e656e4c54b3d5bbf02c33fb679134e032 fc2cadca2dc0e85bd27de0bb9ea27cf712060b84
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ba2d9e1ff112f783cb930eaff5a2ecbc358421df
Log:
Merge branch 'PHP-5.6' into PHP-7.0
Changed paths:
MM ext/gd/gd.c
MM ext/gd/libgd/gdft.c
Diff:
diff --cc ext/gd/gd.c
index e6ff620,192aed0..4202de9
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@@ -3856,9 -3854,8 +3856,9 @@@ static void php_imagettftext_common(INT
{
zval *IM, *EXT = NULL;
gdImagePtr im=NULL;
- zend_long col = -1, x = -1, y = -1;
- long col = -1, x = 0, y = 0;
- int str_len, fontname_len, i, brect[8];
++ zend_long col = -1, x = 0, y = 0;
+ size_t str_len, fontname_len;
+ int i, brect[8];
double ptsize, angle;
char *str = NULL, *fontname = NULL;
char *error = NULL;