Skip to content

Commit

Permalink
- Fix CI errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hanatyan128 committed Nov 22, 2024
1 parent 53e5a4c commit e70594f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api-client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ QString SRCLinkApiClient::retrievePrivateIp()
index = std::min<qsizetype>(settings->getIngressPrivateIpIndex(), privateAddresses.size() - 1);
settings->setIngressPrivateIpValue(privateAddresses[index]);
}
settings->setIngressPrivateIpIndex(index);
settings->setIngressPrivateIpIndex((int)index);

return settings->getIngressPrivateIpValue();
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,4 @@ inline QList<QString> getPrivateIPv4Addresses()
}

return privateAddresses;
}
}

0 comments on commit e70594f

Please sign in to comment.