summaryrefslogtreecommitdiff
path: root/plugins/Import/src/mcontacts.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-11-07 19:24:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-11-07 19:24:53 +0300
commit2d3b4b958926b3ed7d4a5d997121fe91a12f83cc (patch)
tree1c40efd80b1fefc6dc2c80ad258f136754a02b7d /plugins/Import/src/mcontacts.cpp
parent3d88a792fb2f3950989d95d91e7de57fa1b74923 (diff)
update for system includes & import libraries
Diffstat (limited to 'plugins/Import/src/mcontacts.cpp')
-rw-r--r--plugins/Import/src/mcontacts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Import/src/mcontacts.cpp b/plugins/Import/src/mcontacts.cpp
index 6764d9ae66..415f580ca9 100644
--- a/plugins/Import/src/mcontacts.cpp
+++ b/plugins/Import/src/mcontacts.cpp
@@ -151,7 +151,7 @@ public:
}
// mcontacts format always store history for one contact only
- STDMETHODIMP_(LONG) GetBlobSize(MEVENT dwOffset) override
+ STDMETHODIMP_(int) GetBlobSize(MEVENT dwOffset) override
{
if (INVALID_SET_FILE_POINTER == SetFilePointer(m_hFile, dwOffset, 0, FILE_BEGIN))
return 0;
@@ -180,14 +180,14 @@ public:
return 0;
}
- STDMETHODIMP_(LONG) GetContactCount(void) override
+ STDMETHODIMP_(int) GetContactCount(void) override
{
return 1;
}
- STDMETHODIMP_(LONG) GetEventCount(MCONTACT) override
+ STDMETHODIMP_(int) GetEventCount(MCONTACT) override
{
- return (LONG)m_events.size();
+ return (int)m_events.size();
}
STDMETHODIMP_(BOOL) GetEvent(MEVENT dwOffset, DBEVENTINFO *dbei) override