diff options
author | Karl Williamson <khw@cpan.org> | 2017-06-01 10:18:02 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-06-01 10:26:57 -0600 |
commit | 935d8e7269ade03fb8f5de3c2c0ffcf649231353 (patch) | |
tree | 9cfc3d6003c6feb277eff6ed71340fd498abcd4e /hv_func.h | |
parent | cc8d035d9f50189b589119ace88e55d4a559c2e7 (diff) | |
download | perl-935d8e7269ade03fb8f5de3c2c0ffcf649231353.tar.gz |
hv_func.h: Fix compilation error
g++ 6.3 croaks on the new PERL_HASH_WITH_SEED macro. The parameters
need casts
Diffstat (limited to 'hv_func.h')
-rw-r--r-- | hv_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -111,7 +111,7 @@ U32 S_perl_hash_with_seed(const U8 * const seed, const U8 * const str, const STR } #define PERL_HASH_WITH_SEED(seed,hash,str,len) \ - (hash) = S_perl_hash_with_seed(seed,str,len) + (hash) = S_perl_hash_with_seed((const U8 *) seed, (const U8 *) str,len) #define PERL_HASH_WITH_STATE(state,hash,str,len) \ (hash) = _PERL_HASH_WITH_STATE((state),(U8*)(str),(len)) #define PERL_HASH_SEED_STATE(seed,state) _PERL_HASH_SEED_STATE(seed,state) |