From 8c444eef6a9a7033382ff9203cdebb34ca015c52 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Thu, 3 Jan 2019 14:18:39 -0500 Subject: [PATCH] use proper types for rangeproof min/max --- src/modules/rangeproof/tests_impl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/rangeproof/tests_impl.h b/src/modules/rangeproof/tests_impl.h index e8cf1f177..d2ce3d5c6 100644 --- a/src/modules/rangeproof/tests_impl.h +++ b/src/modules/rangeproof/tests_impl.h @@ -656,8 +656,8 @@ void test_rangeproof_fixed_vectors(void) { 0xf5, 0x1e, 0x0d, 0xc5, 0x86, 0x78, 0x51, 0xa9, 0x00, 0x00, 0xef, 0x4d, 0xe2, 0x94, 0x60, 0x89, 0x83, 0x04, 0xb4, 0x0e, 0x90, 0x10, 0x05, 0x1c, 0x7f, 0xd7, 0x33, 0x92, 0x1f, 0xe7, 0x74, 0x59 }; - size_t min_value_1; - size_t max_value_1; + uint64_t min_value_1; + uint64_t max_value_1; secp256k1_pedersen_commitment pc; CHECK(secp256k1_pedersen_commitment_parse(ctx, &pc, commit_1));