summaryrefslogtreecommitdiff
path: root/ext/hash/php_hash_haval.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-04-15 10:04:20 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-15 11:01:12 +0200
commit4d5ad3fb24fa325ebb1cf6b590a9b965f9c5d668 (patch)
tree63c37aa56fedcb8c66f3fde2ace7099c167b937e /ext/hash/php_hash_haval.h
parent53e07bac79c657ec93e8acf6f9e0c94d04c42de3 (diff)
downloadphp-git-4d5ad3fb24fa325ebb1cf6b590a9b965f9c5d668.tar.gz
Fix PHP_HAVALUpdate signature
Fixes a -Wcast-function-type warning.
Diffstat (limited to 'ext/hash/php_hash_haval.h')
-rw-r--r--ext/hash/php_hash_haval.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/hash/php_hash_haval.h b/ext/hash/php_hash_haval.h
index 1033fd59dc..8eaaf2d2b7 100644
--- a/ext/hash/php_hash_haval.h
+++ b/ext/hash/php_hash_haval.h
@@ -32,7 +32,7 @@ typedef struct {
#define PHP_HASH_HAVAL_INIT_DECL(p,b) PHP_HASH_API void PHP_##p##HAVAL##b##Init(PHP_HAVAL_CTX *); \
PHP_HASH_API void PHP_HAVAL##b##Final(unsigned char*, PHP_HAVAL_CTX *);
-PHP_HASH_API void PHP_HAVALUpdate(PHP_HAVAL_CTX *, const unsigned char *, unsigned int);
+PHP_HASH_API void PHP_HAVALUpdate(PHP_HAVAL_CTX *, const unsigned char *, size_t);
PHP_HASH_HAVAL_INIT_DECL(3,128)
PHP_HASH_HAVAL_INIT_DECL(3,160)