]> granicus.if.org Git - php/commitdiff
Add explicit format string
authorSascha Schumann <sas@php.net>
Fri, 20 Oct 2000 23:39:16 +0000 (23:39 +0000)
committerSascha Schumann <sas@php.net>
Fri, 20 Oct 2000 23:39:16 +0000 (23:39 +0000)
ext/gd/gd.c

index 4b5d32102c2ae432a3ad5f4f13d6c0671b7448b1..8da5c6435a633baded60aa199e2718564ad0a924 100644 (file)
@@ -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;
        }