diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-05-28 09:32:34 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-05-28 09:33:18 -0400 |
commit | f4e3fd268af394104ba23d9d793cdebe8d62ba8a (patch) | |
tree | f2c9733343ec4557aa229d13cfc15aa67bacd60e /hv_func.h | |
parent | cd52bc19d9de6bc9b42404c62e1ebe91ca4b3e3e (diff) | |
download | perl-f4e3fd268af394104ba23d9d793cdebe8d62ba8a.tar.gz |
Use UINT64_C for UV constants.
Diffstat (limited to 'hv_func.h')
-rw-r--r-- | hv_func.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -192,10 +192,10 @@ PERL_STATIC_INLINE U32 S_perl_hash_siphash_2_4(const unsigned char * const seed, const unsigned char *in, const STRLEN inlen) { /* "somepseudorandomlygeneratedbytes" */ - U64TYPE v0 = 0x736f6d6570736575ULL; - U64TYPE v1 = 0x646f72616e646f6dULL; - U64TYPE v2 = 0x6c7967656e657261ULL; - U64TYPE v3 = 0x7465646279746573ULL; + U64TYPE v0 = UINT64_C(0x736f6d6570736575); + U64TYPE v1 = UINT64_C(0x646f72616e646f6d); + U64TYPE v2 = UINT64_C(0x6c7967656e657261); + U64TYPE v3 = UINT64_C(0x7465646279746573); U64TYPE b; U64TYPE k0 = ((U64TYPE*)seed)[0]; |