From c4e4a60be8bde947c7a93841fc90a9e31ebc6f1e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 9 Feb 2015 10:52:31 +0000 Subject: Small fixes. --- contrib/blake2/blake2.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib/blake2/blake2.h') diff --git a/contrib/blake2/blake2.h b/contrib/blake2/blake2.h index 7011c57f5..7d611f9a4 100644 --- a/contrib/blake2/blake2.h +++ b/contrib/blake2/blake2.h @@ -17,11 +17,11 @@ #include #include -#ifndef BLAKE_ALIGN +#ifndef BLAKE_ALIGNED #if defined(_MSC_VER) -# define BLAKE_ALIGN(x) __declspec(align(x)) +# define BLAKE_ALIGNED(x) __declspec(align(x)) #else -# define BLAKE_ALIGN(x) __attribute__((aligned(x))) +# define BLAKE_ALIGNED(x) __attribute__((aligned(x))) #endif #endif @@ -56,7 +56,7 @@ extern "C" { uint8_t personal[BLAKE2B_PERSONALBYTES]; // 64 } blake2b_param; - BLAKE_ALIGN( 64 ) typedef struct __blake2b_state + BLAKE_ALIGNED( 64 ) typedef struct __blake2b_state { uint64_t h[8]; uint64_t t[2]; -- cgit v1.2.3