summaryrefslogtreecommitdiff
path: root/protocols/IRCG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-24 20:36:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-24 20:36:31 +0300
commitf9c61d93a14c89c89f234d978fb4264a3b271266 (patch)
tree30a478e18b546a8a9df92940aebced70b6af9304 /protocols/IRCG
parent840545a4faf34c8c09228ea7a0544d16ae4130c9 (diff)
warning fix
Diffstat (limited to 'protocols/IRCG')
-rw-r--r--protocols/IRCG/src/stdafx.h3
1 files changed, 3 insertions, 0 deletions
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<CIrcProto>
{