com php-src: fix ts build: ext/gd/gd.c
| From: | Anatol Belski | Date: | Wed, 03 Aug 2016 10:16:42 +0000 |
| Subject: | com php-src: fix ts build: ext/gd/gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93558@lists.php.net to get a copy of this message | ||
Commit: fad3f936aca111b6717d8607251551336ff2a07f
Author: Anatol Belski <ab@php.net> Wed, 3 Aug 2016 12:16:42 +0200
Parents: f5622f5c8763fe180310ed7a47b999f160d7750b
Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fad3f936aca111b6717d8607251551336ff2a07f
Log:
fix ts build
Changed paths:
M ext/gd/gd.c
Diff:
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 052d568..b96f901 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -1565,7 +1565,7 @@ PHP_FUNCTION(imagesetstyle)
num_styles = zend_hash_num_elements(HASH_OF(styles));
if (num_styles == 0) {
- php_error_docref(NULL, E_WARNING, "styles array must not be empty");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "styles array must not be empty");
RETURN_FALSE;
}