lib/upnp/Init: use nullptr instead of 0
This commit is contained in:
parent
ec408ca6a6
commit
3d5da1ac73
@ -34,7 +34,7 @@ static unsigned upnp_ref;
|
||||
static void
|
||||
DoInit()
|
||||
{
|
||||
auto code = UpnpInit(0, 0);
|
||||
auto code = UpnpInit(nullptr, 0);
|
||||
if (code != UPNP_E_SUCCESS)
|
||||
throw FormatRuntimeError("UpnpInit() failed: %s",
|
||||
UpnpGetErrorMessage(code));
|
||||
|
Loading…
Reference in New Issue
Block a user