summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorghazan <ghazan@miranda.im>2022-02-27 10:18:31 +0300
committerghazan <ghazan@miranda.im>2022-02-27 10:18:31 +0300
commit8b89b88e8a88f23830623b95b37ee52c2ffe3823 (patch)
treec8111905c16d346904491a60858f12dae73c1a13 /include
parent100ce6d79401d9355002288fdbed8ba5e18fcc5d (diff)
minor fixes
Diffstat (limited to 'include')
-rw-r--r--include/m_chat_int.h2
-rw-r--r--include/m_srmm_int.h2
2 files changed, 3 insertions, 1 deletions
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