From: Vsevolod Stakhov Date: Mon, 6 Apr 2015 15:09:18 +0000 (+0100) Subject: Fix siphash static initializer. X-Git-Tag: 0.9.0~319 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c2a321e835d385e17bae5ad5af53371dfcb0c66;p=thirdparty%2Frspamd.git Fix siphash static initializer. --- diff --git a/contrib/siphash/siphash.h b/contrib/siphash/siphash.h index 01383313cd..3b79cbcc31 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 */