Skip to content

Commit

Permalink
chore: Fixing MacOS build - static_cast from field issue (#8642)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanmon authored Sep 19, 2024
1 parent facff7f commit 14ff3cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions barretenberg/cpp/src/barretenberg/bb/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -969,8 +969,8 @@ void avm_prove(const std::filesystem::path& bytecode_path,
std::vector<fr> vk_as_fields = verification_key.to_field_elements();

vinfo("vk fields size: ", vk_as_fields.size());
vinfo("circuit size: ", static_cast<size_t>(vk_as_fields[0]));
vinfo("num of pub inputs: ", static_cast<size_t>(vk_as_fields[1]));
vinfo("circuit size: ", static_cast<uint64_t>(vk_as_fields[0]));
vinfo("num of pub inputs: ", static_cast<uint64_t>(vk_as_fields[1]));

std::string vk_json = to_json(vk_as_fields);
const auto proof_path = output_path / "proof";
Expand Down

0 comments on commit 14ff3cf

Please sign in to comment.