diff options
author | Anatol Belski <ab@php.net> | 2014-08-26 11:23:25 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-26 11:26:53 +0200 |
commit | 202e8db1dc8e1203039327d81ce6fd82c1c2d909 (patch) | |
tree | 05868887a0786140e5a867333b5e374f6a34fe51 /ext/tidy/tidy.c | |
parent | 7cbbb371270fe369eb30a570df95bbdcf42a82e4 (diff) | |
download | php-git-202e8db1dc8e1203039327d81ce6fd82c1c2d909.tar.gz |
fixed several long vs zend_long casts
Diffstat (limited to 'ext/tidy/tidy.c')
-rw-r--r-- | ext/tidy/tidy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c index 9d35326ef0..a3eaec413f 100644 --- a/ext/tidy/tidy.c +++ b/ext/tidy/tidy.c @@ -1396,11 +1396,11 @@ static PHP_FUNCTION(tidy_get_config) break; case TidyInteger: - add_assoc_long(return_value, opt_name, (long)opt_value); + add_assoc_long(return_value, opt_name, (zend_long)opt_value); break; case TidyBoolean: - add_assoc_bool(return_value, opt_name, (long)opt_value); + add_assoc_bool(return_value, opt_name, (zend_long)opt_value); break; } } @@ -1529,7 +1529,7 @@ static PHP_FUNCTION(tidy_getopt) return; case TidyInteger: - RETURN_LONG((long)optval); + RETURN_LONG((zend_long)optval); break; case TidyBoolean: |