From 42d58226998313c627f92af6c31c1f941682debb Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Mon, 9 Sep 2019 15:35:03 -0400 Subject: Use UINTxx_C() macros for 'large' constants --- halfsiphash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'halfsiphash.c') diff --git a/halfsiphash.c b/halfsiphash.c index d74d3be..773c0fc 100644 --- a/halfsiphash.c +++ b/halfsiphash.c @@ -76,8 +76,8 @@ int halfsiphash(const uint8_t *in, const size_t inlen, const uint8_t *k, assert((outlen == 4) || (outlen == 8)); uint32_t v0 = 0; uint32_t v1 = 0; - uint32_t v2 = 0x6c796765; - uint32_t v3 = 0x74656462; + uint32_t v2 = UINT32_C(0x6c796765); + uint32_t v3 = UINT32_C(0x74656462); uint32_t k0 = U8TO32_LE(k); uint32_t k1 = U8TO32_LE(k + 4); uint32_t m; -- cgit v1.2.3