aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppStun.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-12 11:45:13 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-10-12 11:45:13 +0000
commit109fbf730661774aaf26460fce7811647b5f84c7 (patch)
tree225442e67e99f743753ec1bda9ffd6e06961e125 /src/QXmppStun.cpp
parentf6852c54cc8c737ab7b0bcc4a5d8dfa8edb3b119 (diff)
downloadqxmpp-109fbf730661774aaf26460fce7811647b5f84c7.tar.gz
suppress warnings
Diffstat (limited to 'src/QXmppStun.cpp')
-rw-r--r--src/QXmppStun.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QXmppStun.cpp b/src/QXmppStun.cpp
index 40a28bcd..eaab467c 100644
--- a/src/QXmppStun.cpp
+++ b/src/QXmppStun.cpp
@@ -1060,7 +1060,7 @@ void QXmppStunSocket::readyRead()
// process message from peer
Pair *pair = 0;
- if (message.type() == Binding | Request)
+ if (message.type() == (Binding | Request))
{
// add remote candidate
pair = addRemoteCandidate(socket, remoteHost, remotePort);
@@ -1093,7 +1093,7 @@ void QXmppStunSocket::readyRead()
writeStun(message, pair);
}
- } else if (message.type() == Binding | Response) {
+ } else if (message.type() == (Binding | Response)) {
// find the pair for this transaction
foreach (Pair *ptr, m_pairs)