summaryrefslogtreecommitdiff
path: root/lib/libexpat/tests
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-07-06 13:06:35 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-07-06 13:06:35 +0000
commitb426afa2604cbc2ee4d2f11108e21498fc4ab149 (patch)
treebfb385c815599dda22bc0016418d7f16661c61ac /lib/libexpat/tests
parentfc1b85dba58672371640283231a691eaefbba7ba (diff)
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.
Diffstat (limited to 'lib/libexpat/tests')
-rw-r--r--lib/libexpat/tests/runtests.c2
1 files changed, 1 insertions, 1 deletions
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;