Skip to content

Commit 7923c00

Browse files
authored
Merge pull request #610 from Emin017/fix-subgraph-size
Bugfix: add static cast for subgraph size return value
2 parents a4e32a5 + 7634073 commit 7923c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/resynthesis/src/resynthesis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ namespace hal
10581058
// delete the created directory and the contained files
10591059
std::filesystem::remove_all(base_path);
10601060

1061-
return OK(subgraph.size());
1061+
return OK(static_cast<unsigned int>(subgraph.size()));
10621062
}
10631063

10641064
Result<u32> resynthesize_subgraph_of_type(Netlist* nl, const std::vector<const GateType*>& gate_types, GateLibrary* target_gl)

0 commit comments

Comments
 (0)