From a695988b7c8a44448554d83b4dd83d68b808dc30 Mon Sep 17 00:00:00 2001 From: Rumata888 Date: Thu, 31 Oct 2024 12:58:00 +0000 Subject: [PATCH] fix --- .../src/barretenberg/stdlib/primitives/bigfield/bigfield.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.hpp b/barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.hpp index 1276f229db7..dd3011149d8 100644 --- a/barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.hpp +++ b/barretenberg/cpp/src/barretenberg/stdlib/primitives/bigfield/bigfield.hpp @@ -148,7 +148,7 @@ template class bigfield { .add_two(result.binary_basis_limbs[2].element * shift_2, result.binary_basis_limbs[1].element * shift_1); result.prime_basis_limb += (result.binary_basis_limbs[0].element); - uint64_t num_last_limb_bits = (can_overflow) ? NUM_LIMB_BITS : NUM_LAST_LIMB_BITS; + const size_t num_last_limb_bits = (can_overflow) ? NUM_LIMB_BITS : NUM_LAST_LIMB_BITS; if constexpr (HasPlookup) { ctx->range_constrain_two_limbs(result.binary_basis_limbs[0].element.get_normalized_witness_index(), result.binary_basis_limbs[1].element.get_normalized_witness_index(),