From: Marcus Boerger Date: Thu, 22 Aug 2002 14:02:08 +0000 (+0000) Subject: fix zts build X-Git-Tag: RELEASE_0_91~314 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b9052f27a8fe10a3fafa58d4ef19b36020572e3;p=php fix zts build --- 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; }