Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 8 years ago
parent 67439eda6f
commit ff2d047224

@ -165,7 +165,7 @@ namespace kt
{ {
net::Port & p = *i; net::Port & p = *i;
if (p.forward) if (p.forward)
r->undoForward(p,false); r->undoForward(p, 0);
} }
TQString def_dev = UPnPPluginSettings::defaultDevice(); TQString def_dev = UPnPPluginSettings::defaultDevice();
@ -238,7 +238,7 @@ namespace kt
try try
{ {
if (def_router && port.forward) if (def_router && port.forward)
def_router->undoForward(port,false); def_router->undoForward(port, 0);
} }
catch (Error & e) catch (Error & e)
{ {

Loading…
Cancel
Save