diff options
Diffstat (limited to 'ext/hash/hash_sha.c')
| -rw-r--r-- | ext/hash/hash_sha.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hash/hash_sha.c b/ext/hash/hash_sha.c index 991d7db404..6e58c444dc 100644 --- a/ext/hash/hash_sha.c +++ b/ext/hash/hash_sha.c @@ -128,7 +128,7 @@ PHP_FUNCTION(sha1_file) int n; php_stream *stream; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|b", &arg, &arg_len, &raw_output) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|b", &arg, &arg_len, &raw_output) == FAILURE) { return; } |
