summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-03 18:02:12 +0200
committerSlávek Banko <[email protected]>2016-09-03 18:02:23 +0200
commitca7c05f2beea437be5ba8a1d7ba39c8b37697ebd (patch)
treee5ca18e9c8635d989de21fccad1f2725fec3ec0a
parent1145a454293dcdfb642e05a52103090a9168d5c8 (diff)
downloadktorrent-ca7c05f2beea437be5ba8a1d7ba39c8b37697ebd.tar.gz
ktorrent-ca7c05f2beea437be5ba8a1d7ba39c8b37697ebd.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit ff2d047224d3971ed795a6d2dfe020eb65958b59)
-rw-r--r--plugins/upnp/upnpprefwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/upnp/upnpprefwidget.cpp b/plugins/upnp/upnpprefwidget.cpp
index 7d0bbb5..ab84a2e 100644
--- a/plugins/upnp/upnpprefwidget.cpp
+++ b/plugins/upnp/upnpprefwidget.cpp
@@ -165,7 +165,7 @@ namespace kt
{
net::Port & p = *i;
if (p.forward)
- r->undoForward(p,false);
+ r->undoForward(p, 0);
}
TQString def_dev = UPnPPluginSettings::defaultDevice();
@@ -238,7 +238,7 @@ namespace kt
try
{
if (def_router && port.forward)
- def_router->undoForward(port,false);
+ def_router->undoForward(port, 0);
}
catch (Error & e)
{