diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-15 10:04:20 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-15 11:01:12 +0200 |
commit | 4d5ad3fb24fa325ebb1cf6b590a9b965f9c5d668 (patch) | |
tree | 63c37aa56fedcb8c66f3fde2ace7099c167b937e /ext/hash/php_hash_haval.h | |
parent | 53e07bac79c657ec93e8acf6f9e0c94d04c42de3 (diff) | |
download | php-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.h | 2 |
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) |