Switch C-Style int cast to c++ style uint16 cast

This commit is contained in:
Tixx 2025-03-29 20:17:25 +01:00
parent 093310c124
commit 73e9595d14
No known key found for this signature in database
GPG Key ID: EC6E7A2BAABF0B8C

View File

@ -222,7 +222,7 @@ void TNetwork::TCPServerMain() {
Application::GracefullyShutdown();
}
Application::SetSubsystemStatus("TCPNetwork", Application::Status::Good);
beammp_infof("Listening on {0} port {1}", ListenEp.address().to_string(), (int)ListenEp.port());
beammp_infof("Listening on {0} port {1}", ListenEp.address().to_string(), static_cast<uint16_t>(ListenEp.port()));
beammp_info("Vehicle event network online");
do {
try {