]> granicus.if.org Git - php/commitdiff
format string fix
authorAndrey Hristov <andrey@php.net>
Thu, 28 Aug 2003 20:25:31 +0000 (20:25 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 28 Aug 2003 20:25:31 +0000 (20:25 +0000)
ext/gd/gd.c

index ffe401387db9ece6ed78b31cbff0aacd02fd805c..69d7d34b4458d3620c459484104b818940ae6cfe 100644 (file)
@@ -3166,7 +3166,7 @@ PHP_FUNCTION(imagepscopyfont)
        of_ind = zend_list_find(Z_LVAL_PP(fnt), &type);
 
        if (type != le_ps_font) {
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "%d is not a Type 1 font index", Z_LVAL_PP(fnt));
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "%ld is not a Type 1 font index", Z_LVAL_PP(fnt));
                RETURN_FALSE;
        }