]> git.codecow.com Git - Monocypher.git/commitdiff
Tests: fixed array size mismatch warning
authorLoup Vaillant <loup@loup-vaillant.fr>
Tue, 22 Dec 2020 17:01:00 +0000 (18:01 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 22 Dec 2020 17:01:00 +0000 (18:01 +0100)
tests/utils.h

index dae369bede8974a2f9827e8baf24082b64a20e0f..cdeb37ef018b20b7fa338bbc8b60a6faa2aae6bf 100644 (file)
@@ -90,7 +90,7 @@ typedef struct {
 
 void store64_le(u8 out[8], u64 in);
 u64  load64_le(const u8 s[8]);
-u32  load32_le(const u8 s[8]);
+u32  load32_le(const u8 s[4]);
 u64  rand64(void); // Pseudo-random 64 bit number, based on xorshift*
 void p_random(u8 *stream, size_t size);
 void print_vector(const u8 *buf, size_t size);