From 8b89b88e8a88f23830623b95b37ee52c2ffe3823 Mon Sep 17 00:00:00 2001 From: ghazan Date: Sun, 27 Feb 2022 10:18:31 +0300 Subject: minor fixes --- include/m_chat_int.h | 2 +- include/m_srmm_int.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 06ce174453..d57c594607 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -84,7 +84,7 @@ struct USERINFO : public MZeroedObject, public MNonCopyable wchar_t* pszNick; uint16_t Status; int iStatusEx; - WORD ContactStatus; + uint16_t ContactStatus; }; struct MIR_APP_EXPORT GCModuleInfoBase : public MZeroedObject, public MNonCopyable diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h index c3126aab61..24fcadda68 100644 --- a/include/m_srmm_int.h +++ b/include/m_srmm_int.h @@ -279,7 +279,9 @@ class CMsgDialog : public CSrmmBaseDialog {}; ///////////////////////////////////////////////////////////////////////////////////////// // receives LOGSTREAMDATA* as the first parameter +#ifdef _WINDOWS EXTERN_C MIR_APP_DLL(DWORD) CALLBACK Srmm_LogStreamCallback(DWORD_PTR dwCookie, uint8_t *pbBuff, LONG cb, LONG *pcb); +#endif ///////////////////////////////////////////////////////////////////////////////////////// // sends a message to all SRMM windows -- cgit v1.2.3