summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-09-30 18:03:58 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-09-30 18:04:25 (GMT)
commitaf976a75b5e1b504a340602659ef930109cd2c48 (patch)
tree9758f37bfa7ac4b01c6e11c5adb8ccf0a6b9ed1d /Swiften/Network/NATPMPInterface.cpp
parent491413211a2f74a4c6b4112356dd6ea9c9484c92 (diff)
downloadswift-contrib-af976a75b5e1b504a340602659ef930109cd2c48.zip
swift-contrib-af976a75b5e1b504a340602659ef930109cd2c48.tar.bz2
Fixed warnings.
Diffstat (limited to 'Swiften/Network/NATPMPInterface.cpp')
-rw-r--r--Swiften/Network/NATPMPInterface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Network/NATPMPInterface.cpp b/Swiften/Network/NATPMPInterface.cpp
index 74f582c..298240a 100644
--- a/Swiften/Network/NATPMPInterface.cpp
+++ b/Swiften/Network/NATPMPInterface.cpp
@@ -2,18 +2,19 @@
* Copyright (c) 2011 Tobias Markmann
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#include <Swiften/Network/NATPMPInterface.h>
#include <Swiften/Base/Log.h>
+#pragma GCC diagnostic ignored "-Wold-style-cast"
namespace Swift {
NATPMPInterface::NATPMPInterface() {
initnatpmp(&natpmp, 0, 0);
}
NATPMPInterface::~NATPMPInterface() {
closenatpmp(&natpmp);