diff options
Diffstat (limited to 'ext/intl/formatter/formatter_format.c')
-rw-r--r-- | ext/intl/formatter/formatter_format.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/intl/formatter/formatter_format.c b/ext/intl/formatter/formatter_format.c index 369756ebdb..f3253dcdb2 100644 --- a/ext/intl/formatter/formatter_format.c +++ b/ext/intl/formatter/formatter_format.c @@ -18,9 +18,10 @@ #include "config.h" #endif +#include "php_intl.h" + #include <unicode/ustring.h> -#include "php_intl.h" #include "formatter_class.h" #include "formatter_format.h" #include "intl_convert.h" @@ -119,7 +120,7 @@ PHP_FUNCTION( numfmt_format ) break; default: - php_error_docref(NULL, E_WARNING, "Unsupported format type %pd", type); + php_error_docref(NULL, E_WARNING, "Unsupported format type " ZEND_LONG_FMT, type); RETURN_FALSE; break; } |