nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/plugins/resynthesis/src/resynthesis.cpp b/plugins/resynthesis/src/resynthesis.cpp
2index 7a7e404114f..f2889667af8 100644
3--- a/plugins/resynthesis/src/resynthesis.cpp
4+++ b/plugins/resynthesis/src/resynthesis.cpp
5@@ -1058,7 +1058,7 @@ namespace hal
6 // delete the created directory and the contained files
7 std::filesystem::remove_all(base_path);
8
9- return OK(subgraph.size());
10+ return OK(static_cast<unsigned int>(subgraph.size()));
11 }
12
13 Result<u32> resynthesize_subgraph_of_type(Netlist* nl, const std::vector<const GateType*>& gate_types, GateLibrary* target_gl)