summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/gd/gd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index e1187df28f..33b58fdfdd 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -669,15 +669,15 @@ PHP_FUNCTION(imagecolormatch)
switch( result )
{
case -1:
- php_error_docref(NULL, E_ERROR, "Image1 must be TrueColor" );
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "Image1 must be TrueColor" );
RETURN_FALSE;
break;
case -2:
- php_error_docref(NULL, E_ERROR, "Image2 must be Palette" );
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "Image2 must be Palette" );
RETURN_FALSE;
break;
case -3:
- php_error_docref(NULL, E_ERROR, "Image1 and Image2 must be the same size" );
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "Image1 and Image2 must be the same size" );
RETURN_FALSE;
break;
}