diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-11-03 16:15:04 +0100 |
|---|---|---|
| committer | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-11-03 16:15:04 +0100 |
| commit | b18184209242c7ac37c2598f2622b430b4aed384 (patch) | |
| tree | 882fa8f60655020480fa33ba9f16ed7b21785555 /Source/Core/Common/ENet.cpp | |
| parent | 7dae4dd3d218b6e9245a6ee259bb2a50fb9bd48e (diff) | |
Netplay: Fix building on clang 17.
Diffstat (limited to 'Source/Core/Common/ENet.cpp')
| -rw-r--r-- | Source/Core/Common/ENet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ENetEventType>(SKIPPABLE_EVENT); return 1; } return 0; |
