diff --git a/plugins/resynthesis/src/resynthesis.cpp b/plugins/resynthesis/src/resynthesis.cpp index 7a7e404114f..f2889667af8 100644 --- a/plugins/resynthesis/src/resynthesis.cpp +++ b/plugins/resynthesis/src/resynthesis.cpp @@ -1058,7 +1058,7 @@ namespace hal // delete the created directory and the contained files std::filesystem::remove_all(base_path); - return OK(subgraph.size()); + return OK(static_cast(subgraph.size())); } Result resynthesize_subgraph_of_type(Netlist* nl, const std::vector& gate_types, GateLibrary* target_gl)