summaryrefslogtreecommitdiff
path: root/Source/Core/Common/TraversalClient.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-11-03 16:34:50 +0100
committerGitHub <noreply@github.com>2023-11-03 16:34:50 +0100
commitc7243c368fa293a0ae11b2595c1ccf7cd83cc7e1 (patch)
tree882fa8f60655020480fa33ba9f16ed7b21785555 /Source/Core/Common/TraversalClient.cpp
parent7dae4dd3d218b6e9245a6ee259bb2a50fb9bd48e (diff)
parentb18184209242c7ac37c2598f2622b430b4aed384 (diff)
Merge pull request #12270 from AdmiralCurtiss/clang-enum-out-of-range-2
Netplay: Fix building on clang 17.
Diffstat (limited to 'Source/Core/Common/TraversalClient.cpp')
-rw-r--r--Source/Core/Common/TraversalClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/TraversalClient.cpp b/Source/Core/Common/TraversalClient.cpp
index 50278a37e9..200166f69d 100644
--- a/Source/Core/Common/TraversalClient.cpp
+++ b/Source/Core/Common/TraversalClient.cpp
@@ -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;