From: Sascha Schumann Date: Fri, 20 Oct 2000 23:39:16 +0000 (+0000) Subject: Add explicit format string X-Git-Tag: php-4.0.4RC3~594 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fe7cf26fc21a4a029395e1d12ac2260024008b6;p=php Add explicit format string --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 4b5d32102c..8da5c6435a 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -2055,7 +2055,7 @@ void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode) #endif if (error) { - php_error(E_WARNING, error); + php_error(E_WARNING, "%s", error); RETURN_FALSE; }