From 7c2a321e835d385e17bae5ad5af53371dfcb0c66 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 6 Apr 2015 16:09:18 +0100 Subject: [PATCH] Fix siphash static initializer. --- contrib/siphash/siphash.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/contrib/siphash/siphash.h b/contrib/siphash/siphash.h index 01383313c..3b79cbcc3 100644 --- a/contrib/siphash/siphash.h +++ b/contrib/siphash/siphash.h @@ -65,17 +65,16 @@ #include /* size_t */ #include /* uint64_t uint32_t uint8_t */ -#define SIPHASH_INITIALIZER { 0, 0, 0, 0, { 0 }, 0, 0 } +#define SIPHASH_INITIALIZER { 0, 0, 0, 0, 0, 0, {{0}} } struct siphash { uint64_t v0, v1, v2, v3; - + uint64_t c; + unsigned char *p; union { unsigned char buf[8]; uint64_t m; } b; - unsigned char *p; - uint64_t c; }; /* struct siphash */ -- 2.39.5