Loading pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { hash = "sha256-bjbW4pr04pP0TCuSdzPcV8h6LbLWMvdGSf61RL9Ju6E="; }) ./4.4.1-newer-spdlog-fmt-compat.patch ./resynthesis-fix-narrowing-conversion.patch ]; # make sure bundled dependencies don't get in the way - install also otherwise Loading pkgs/applications/science/electronics/hal-hardware-analyzer/resynthesis-fix-narrowing-conversion.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line 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<unsigned int>(subgraph.size())); } Result<u32> resynthesize_subgraph_of_type(Netlist* nl, const std::vector<const GateType*>& gate_types, GateLibrary* target_gl) Loading
pkgs/applications/science/electronics/hal-hardware-analyzer/default.nix +1 −0 Original line number Diff line number Diff line Loading @@ -47,6 +47,7 @@ stdenv.mkDerivation rec { hash = "sha256-bjbW4pr04pP0TCuSdzPcV8h6LbLWMvdGSf61RL9Ju6E="; }) ./4.4.1-newer-spdlog-fmt-compat.patch ./resynthesis-fix-narrowing-conversion.patch ]; # make sure bundled dependencies don't get in the way - install also otherwise Loading
pkgs/applications/science/electronics/hal-hardware-analyzer/resynthesis-fix-narrowing-conversion.patch 0 → 100644 +13 −0 Original line number Diff line number Diff line 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<unsigned int>(subgraph.size())); } Result<u32> resynthesize_subgraph_of_type(Netlist* nl, const std::vector<const GateType*>& gate_types, GateLibrary* target_gl)