From b426afa2604cbc2ee4d2f11108e21498fc4ab149 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Thu, 6 Jul 2017 13:06:35 +0000 Subject: Add ULL suffix to 64 bit constants. This avoids compiler warnings on i386 and allows to compile the C++ test. Upstream dropped the ULL in an insufficient attempt to make the siphash code C89 compatible. Their fix will be more complicated. No binary change. --- lib/libexpat/tests/runtests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libexpat/tests') diff --git a/lib/libexpat/tests/runtests.c b/lib/libexpat/tests/runtests.c index a689ffad8dc..f205b5f9c35 100644 --- a/lib/libexpat/tests/runtests.c +++ b/lib/libexpat/tests/runtests.c @@ -247,7 +247,7 @@ START_TEST(test_siphash_spec) const char message[] = "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09" "\x0a\x0b\x0c\x0d\x0e"; const size_t len = sizeof(message) - 1; - const uint64_t expected = 0xa129ca6149be45e5U; + const uint64_t expected = 0xa129ca6149be45e5ULL; struct siphash state; struct sipkey key; (void)sip_tobin; -- cgit v1.2.3