summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/gd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 052d568d76..b96f901ea0 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;
}