15 lines
454 B
Plaintext
15 lines
454 B
Plaintext
$OpenBSD: patch-lib_netplay_netplay_cpp,v 1.1 2017/05/27 08:18:46 espie Exp $
|
|
|
|
Index: lib/netplay/netplay.cpp
|
|
--- lib/netplay/netplay.cpp.orig
|
|
+++ lib/netplay/netplay.cpp
|
|
@@ -1783,7 +1783,7 @@ static void NETcheckPlayers(void)
|
|
// We should not block here.
|
|
bool NETrecvNet(NETQUEUE *queue, uint8_t *type)
|
|
{
|
|
- switch (upnp_status)
|
|
+ switch (static_cast<int>(upnp_status))
|
|
{
|
|
case UPNP_ERROR_CONTROL_NOT_AVAILABLE:
|
|
case UPNP_ERROR_DEVICE_NOT_FOUND:
|