Skip to content

Commit

Permalink
Fixed git runner build error.
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnWilkinson committed Nov 7, 2024
1 parent 0889f12 commit c967a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/CoreInstance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ void CoreInstance::createCore() {
auto config_rs_ports = config_rs[i]["Port-Nums"];
for (size_t j = 0; j < config_rs_ports.num_children(); j++) {
uint16_t port = config_rs_ports[j].as<uint16_t>();
if (rsArrangement.size() < port + 1) {
if (static_cast<uint16_t>(rsArrangement.size()) < port + 1) {
rsArrangement.resize(port + 1);
}
rsArrangement[port] = {i, config_rs[i]["Size"].as<uint64_t>()};
Expand Down

0 comments on commit c967a2c

Please sign in to comment.