Netplay: Fix building on clang 17.

This commit is contained in:
Admiral H. Curtiss 2023-11-03 16:15:04 +01:00
commit b181842092
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
5 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ int ENET_CALLBACK InterceptCallback(ENetHost* host, ENetEvent* event)
// wakeup packet received
if (host->receivedDataLength == 1 && host->receivedData[0] == 0)
{
event->type = SKIPPABLE_EVENT;
event->type = static_cast<ENetEventType>(SKIPPABLE_EVENT);
return 1;
}
return 0;