diff --git a/lib/hcrypto/sha512.c b/lib/hcrypto/sha512.c index 99cfa0515..fb38cadb6 100644 --- a/lib/hcrypto/sha512.c +++ b/lib/hcrypto/sha512.c @@ -177,12 +177,12 @@ swap_uint64_t (uint64_t t) return ((temp & 0xffff0000ffff0000ULL) >> 16) | ((temp & 0x0000ffff0000ffffULL) << 16); } -#endif struct x64{ - uint64_t a:64; - uint64_t b:64; + uint64_t a; + uint64_t b; }; +#endif void SHA512_Update (SHA512_CTX *m, const void *v, size_t len)