more Windows errors

This commit is contained in:
Matthias J. Kannwischer 2019-06-14 14:44:24 +02:00 committed by Douglas Stebila
parent a7253a3530
commit 24014ae255

View File

@ -56,6 +56,7 @@ static inline void _gf16v_mul_scalar_u32(uint8_t *a, uint8_t gf16_b, unsigned _n
uint8_t u8[4]; uint8_t u8[4];
uint32_t u32; uint32_t u32;
} t; } t;
t.u32 = 0;
a += (n_u32 << 2); a += (n_u32 << 2);
unsigned rem = _num_byte & 3; unsigned rem = _num_byte & 3;
for (unsigned i = 0; i < rem; i++) { for (unsigned i = 0; i < rem; i++) {
@ -78,6 +79,7 @@ static inline void _gf256v_mul_scalar_u32(uint8_t *a, uint8_t b, unsigned _num_b
uint8_t u8[4]; uint8_t u8[4];
uint32_t u32; uint32_t u32;
} t; } t;
t.u32 = 0;
a += (n_u32 << 2); a += (n_u32 << 2);
unsigned rem = _num_byte & 3; unsigned rem = _num_byte & 3;
for (unsigned i = 0; i < rem; i++) { for (unsigned i = 0; i < rem; i++) {