diff options
author | Anatol Belski <ab@php.net> | 2014-08-21 20:13:55 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-21 20:13:55 +0200 |
commit | 3cb5c6e6921242658783d8d9592027005300bbcb (patch) | |
tree | 103ed3f0ab5bf3542b06a36a8ba425a3a4b6055d /ext/mcrypt/mcrypt.c | |
parent | 7de2259818cf73482aafc96a8df082d5657e74f1 (diff) | |
download | php-git-3cb5c6e6921242658783d8d9592027005300bbcb.tar.gz |
fix zpp
Diffstat (limited to 'ext/mcrypt/mcrypt.c')
-rw-r--r-- | ext/mcrypt/mcrypt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 44c5b4ef6d..3ae0bb314f 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -1400,11 +1400,11 @@ PHP_FUNCTION(mcrypt_ofb) PHP_FUNCTION(mcrypt_create_iv) { char *iv; - long source = URANDOM; - long size; + php_int_t source = URANDOM; + php_int_t size; int n = 0; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l|l", &size, &source) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "i|i", &size, &source) == FAILURE) { return; } |