From 109fbf730661774aaf26460fce7811647b5f84c7 Mon Sep 17 00:00:00 2001 From: Manjeet Dahiya Date: Tue, 12 Oct 2010 11:45:13 +0000 Subject: suppress warnings --- src/QXmppStun.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/QXmppStun.cpp') 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) -- cgit v1.2.3