From f9c61d93a14c89c89f234d978fb4264a3b271266 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 24 Jan 2017 20:36:31 +0300 Subject: warning fix --- protocols/IRCG/src/stdafx.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols') diff --git a/protocols/IRCG/src/stdafx.h b/protocols/IRCG/src/stdafx.h index 9662f643ce..d23614a3d5 100644 --- a/protocols/IRCG/src/stdafx.h +++ b/protocols/IRCG/src/stdafx.h @@ -193,6 +193,8 @@ using namespace irc; typedef bool (CIrcProto::*PfnIrcMessageHandler)(const CIrcMessage *pmsg); +#pragma pack(4) + struct CIrcHandler { CIrcHandler(const wchar_t* _name, PfnIrcMessageHandler _handler) : @@ -204,6 +206,7 @@ struct CIrcHandler const wchar_t* m_name; PfnIrcMessageHandler m_handler; }; +#pragma pack() struct CIrcProto : public PROTO { -- cgit v1.2.3