summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>
{