summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/EventList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BasicHistory/src/EventList.cpp')
-rw-r--r--plugins/BasicHistory/src/EventList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BasicHistory/src/EventList.cpp b/plugins/BasicHistory/src/EventList.cpp
index 64d37517cb..6335a11e07 100644
--- a/plugins/BasicHistory/src/EventList.cpp
+++ b/plugins/BasicHistory/src/EventList.cpp
@@ -548,7 +548,7 @@ void EventList::MargeMessages(const std::vector<IImport::ExternalMessage>& messa
DBEVENTINFO dbei = { sizeof(dbei) };
dbei.szModule = GetContactProto(hContact);
- CallService(MS_DB_SETSAFETYMODE, (WPARAM)FALSE, 0);
+ CallService(MS_DB_SETSAFETYMODE, FALSE, 0);
for (std::list<EventTempIndex>::iterator it = tempList.begin(); it != tempList.end(); ++it) {
if (it->isExternal) {
IImport::ExternalMessage& msg = importedMessages[it->exIdx];
@@ -567,7 +567,7 @@ void EventList::MargeMessages(const std::vector<IImport::ExternalMessage>& messa
}
}
- CallService(MS_DB_SETSAFETYMODE, (WPARAM)TRUE, 0);
+ CallService(MS_DB_SETSAFETYMODE, TRUE, 0);
std::vector<IImport::ExternalMessage> emessages;
ImportMessages(emessages);
}