From f4e3fd268af394104ba23d9d793cdebe8d62ba8a Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 28 May 2014 09:32:34 -0400 Subject: Use UINT64_C for UV constants. --- hv_func.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hv_func.h') diff --git a/hv_func.h b/hv_func.h index 191912a6cc..53230ae55c 100644 --- a/hv_func.h +++ b/hv_func.h @@ -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]; -- cgit v1.2.1