X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fprotocol.h;fp=src%2Fcommon%2Fprotocol.h;h=e626686277245eade9606b7aef6c35ef6845837a;hp=4576080168825e35933ae3c4ff2d55b0e4ffb8e7;hb=f353beded3963b67da6ac0878700dee8e61abfc4;hpb=53861faa5551606eea31588b65ba501b24fb2e1a diff --git a/src/common/protocol.h b/src/common/protocol.h index 45760801..e6266862 100644 --- a/src/common/protocol.h +++ b/src/common/protocol.h @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef PROTOCOL_H_ -#define PROTOCOL_H_ +#pragma once #include #include @@ -57,7 +56,7 @@ struct HandshakeMessage { struct RegisterClient : public HandshakeMessage { - inline RegisterClient(const QString &clientVersion, const QString &buildDate, bool sslSupported = false, int32_t features = 0) + inline RegisterClient(const QString &clientVersion, const QString &buildDate, bool sslSupported = false, quint32 features = 0) : clientVersion(clientVersion) , buildDate(buildDate) , sslSupported(sslSupported) @@ -68,7 +67,7 @@ struct RegisterClient : public HandshakeMessage // this is only used by the LegacyProtocol in compat mode bool sslSupported; - int32_t clientFeatures; + quint32 clientFeatures; }; @@ -247,5 +246,3 @@ struct HeartBeatReply }; - -#endif