summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 18:02:12 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 18:02:12 +0200
commitff2d047224d3971ed795a6d2dfe020eb65958b59 (patch)
treea6da7c7410956eabafe947a192dcaaa0569b3b08 /plugins
parent67439eda6f20dadac952f2a2d3247c1a90508a47 (diff)
downloadktorrent-ff2d047224d3971ed795a6d2dfe020eb65958b59.tar.gz
ktorrent-ff2d047224d3971ed795a6d2dfe020eb65958b59.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'plugins')
-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)
{