summaryrefslogtreecommitdiff
path: root/hv_func.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-05-28 09:32:34 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-05-28 09:33:18 -0400
commitf4e3fd268af394104ba23d9d793cdebe8d62ba8a (patch)
treef2c9733343ec4557aa229d13cfc15aa67bacd60e /hv_func.h
parentcd52bc19d9de6bc9b42404c62e1ebe91ca4b3e3e (diff)
downloadperl-f4e3fd268af394104ba23d9d793cdebe8d62ba8a.tar.gz
Use UINT64_C for UV constants.
Diffstat (limited to 'hv_func.h')
-rw-r--r--hv_func.h8
1 files changed, 4 insertions, 4 deletions
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];