Skip to content

Commit

Permalink
Fix alignment compile errors on GCC 11
Browse files Browse the repository at this point in the history
  • Loading branch information
ROZ-MOFUMOFU-ME authored May 2, 2024
1 parent 04f7b91 commit 408150d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sha3/blake2s.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ typedef struct __blake2s_param
uint8_t personal[BLAKE2S_PERSONALBYTES]; // 32
} blake2s_param;

ALIGN( 64 ) typedef struct __blake2s_state
typedef struct ALIGN( 64 ) __blake2s_state
{
uint32_t h[8];
uint32_t t[2];
Expand Down

0 comments on commit 408150d

Please sign in to comment.