summaryrefslogtreecommitdiff
path: root/ext/tokenizer/tokenizer.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-19 13:05:20 +0200
committerAnatol Belski <ab@php.net>2014-08-19 13:05:20 +0200
commit58aa0f8df898a6df36725c21e05a036bbf5e3216 (patch)
tree230f8597753af09c9604adc790b9bd2fc3d344e6 /ext/tokenizer/tokenizer.c
parent40912abf1d8203cc7899888713594f54a82cf004 (diff)
downloadphp-git-58aa0f8df898a6df36725c21e05a036bbf5e3216.tar.gz
fixes to tokenizer
Diffstat (limited to 'ext/tokenizer/tokenizer.c')
-rw-r--r--ext/tokenizer/tokenizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tokenizer/tokenizer.c b/ext/tokenizer/tokenizer.c
index d2c58ff2b7..be0b6a302a 100644
--- a/ext/tokenizer/tokenizer.c
+++ b/ext/tokenizer/tokenizer.c
@@ -206,9 +206,9 @@ PHP_FUNCTION(token_get_all)
*/
PHP_FUNCTION(token_name)
{
- long type;
+ php_int_t type;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &type) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "i", &type) == FAILURE) {
return;
}