Netplay: Fix building on clang 17.

This commit is contained in:
Admiral H. Curtiss
2023-11-03 16:15:04 +01:00
parent 7dae4dd3d2
commit b181842092
5 changed files with 6 additions and 6 deletions

View File

@ -299,7 +299,7 @@ int ENET_CALLBACK TraversalClient::InterceptCallback(ENetHost* host, ENetEvent*
&host->receivedAddress) ||
(host->receivedDataLength == 1 && host->receivedData[0] == 0))
{
event->type = Common::ENet::SKIPPABLE_EVENT;
event->type = static_cast<ENetEventType>(Common::ENet::SKIPPABLE_EVENT);
return 1;
}
return 0;