@@ -77,9 +77,9 @@ static void SHADecode32(php_uint32 *output, const unsigned char *input, unsigned
7777/* }}} */
7878
7979php_hash_ops php_hash_sha1_ops = {
80- PHP_SHA1Init ,
81- PHP_SHA1Update ,
82- PHP_SHA1Final ,
80+ ( php_hash_init_func_t ) PHP_SHA1Init ,
81+ ( php_hash_update_func_t ) PHP_SHA1Update ,
82+ ( php_hash_final_func_t ) PHP_SHA1Final ,
8383 20 ,
8484 64 ,
8585 sizeof (PHP_SHA1_CTX )
@@ -424,9 +424,9 @@ PHP_HASH_API void PHP_SHA1Final(unsigned char digest[20], PHP_SHA1_CTX * context
424424/* sha256 */
425425
426426php_hash_ops php_hash_sha256_ops = {
427- PHP_SHA256Init ,
428- PHP_SHA256Update ,
429- PHP_SHA256Final ,
427+ ( php_hash_init_func_t ) PHP_SHA256Init ,
428+ ( php_hash_update_func_t ) PHP_SHA256Update ,
429+ ( php_hash_final_func_t ) PHP_SHA256Final ,
430430 32 ,
431431 64 ,
432432 sizeof (PHP_SHA256_CTX )
@@ -819,9 +819,9 @@ PHP_HASH_API void PHP_SHA384Final(unsigned char digest[48], PHP_SHA384_CTX * con
819819/* }}} */
820820
821821php_hash_ops php_hash_sha384_ops = {
822- PHP_SHA384Init ,
823- PHP_SHA384Update ,
824- PHP_SHA384Final ,
822+ ( php_hash_init_func_t ) PHP_SHA384Init ,
823+ ( php_hash_update_func_t ) PHP_SHA384Update ,
824+ ( php_hash_final_func_t ) PHP_SHA384Final ,
825825 48 ,
826826 128 ,
827827 sizeof (PHP_SHA384_CTX )
@@ -932,9 +932,9 @@ PHP_HASH_API void PHP_SHA512Final(unsigned char digest[48], PHP_SHA512_CTX * con
932932/* }}} */
933933
934934php_hash_ops php_hash_sha512_ops = {
935- PHP_SHA512Init ,
936- PHP_SHA512Update ,
937- PHP_SHA512Final ,
935+ ( php_hash_init_func_t ) PHP_SHA512Init ,
936+ ( php_hash_update_func_t ) PHP_SHA512Update ,
937+ ( php_hash_final_func_t ) PHP_SHA512Final ,
938938 64 ,
939939 128 ,
940940 sizeof (PHP_SHA512_CTX )
0 commit comments