From b18184209242c7ac37c2598f2622b430b4aed384 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Fri, 3 Nov 2023 16:15:04 +0100 Subject: Netplay: Fix building on clang 17. --- Source/Core/Common/ENet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/Common/ENet.cpp') diff --git a/Source/Core/Common/ENet.cpp b/Source/Core/Common/ENet.cpp index 6e27036175..f99c4476c5 100644 --- a/Source/Core/Common/ENet.cpp +++ b/Source/Core/Common/ENet.cpp @@ -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(SKIPPABLE_EVENT); return 1; } return 0; -- cgit v1.2.3