Remove uint

It's better to use the native types.
This commit is contained in:
phosit committed 2026-09-21 18:11:47 +02:00
1 parent ae7801c9c7
commit 281e8cd862
15 files changed
+214 -156

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ void CNetServerSession::Disconnect(NetDisconnectReason reason)
if (reason == NDR_UNKNOWN)
LOGWARNING("Disconnecting client without communicating the disconnect reason!");
Update((uint)NMT_CONNECTION_LOST, NULL);
Update(static_cast<unsigned int>(NMT_CONNECTION_LOST), nullptr);
enet_peer_disconnect(m_Peer, static_cast<enet_uint32>(reason));
}