fix ts build
authorAnatol Belski <ab@php.net>
Wed, 3 Aug 2016 10:16:42 +0000 (12:16 +0200)
committerAnatol Belski <ab@php.net>
Wed, 3 Aug 2016 10:16:42 +0000 (12:16 +0200)
ext/gd/gd.c

index 052d568d76442271c34947e9e22009346004effa..b96f901ea0e780da05cc0d28448290f1b233613d 100644 (file)
@@ -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;
     }