Skip to content

Commit 43dd1f4

Browse files
authored
Merge pull request #40 from instagibbs/size_t
use proper types for rangeproof min/max in unit test case
2 parents 6532fa0 + 8c444ee commit 43dd1f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/rangeproof/tests_impl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,8 @@ void test_rangeproof_fixed_vectors(void) {
656656
0xf5, 0x1e, 0x0d, 0xc5, 0x86, 0x78, 0x51, 0xa9, 0x00, 0x00, 0xef, 0x4d, 0xe2, 0x94, 0x60, 0x89,
657657
0x83, 0x04, 0xb4, 0x0e, 0x90, 0x10, 0x05, 0x1c, 0x7f, 0xd7, 0x33, 0x92, 0x1f, 0xe7, 0x74, 0x59
658658
};
659-
size_t min_value_1;
660-
size_t max_value_1;
659+
uint64_t min_value_1;
660+
uint64_t max_value_1;
661661
secp256k1_pedersen_commitment pc;
662662

663663
CHECK(secp256k1_pedersen_commitment_parse(ctx, &pc, commit_1));

0 commit comments

Comments
 (0)