summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-12-23 15:30:07 +0000
committerRobert Pösel <robyer@seznam.cz>2014-12-23 15:30:07 +0000
commitdfc984e97259bab3ab2de2f3b9cca0d9a097550d (patch)
treeb9461d8acc5de1df006f6a8396b2a6dfb36e5d91 /protocols/FacebookRM/src/proto.cpp
parent2cd071fd8de860655b981d22ecac139cd6e4411b (diff)
Facebook: Rework working with timestamps; version bump
Use time_t almost everywhere instead of DWORD and remove fix_timestamp method to replace it with to_timestamp git-svn-id: http://svn.miranda-ng.org/main/trunk@11599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r--protocols/FacebookRM/src/proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index 23eac2a9fd..f1785af1d5 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -595,7 +595,7 @@ int FacebookProto::OnPreCreateEvent(WPARAM, LPARAM lParam)
if (strcmp(GetContactProto(evt->hContact), m_szModuleName))
return 0;
- std::map<int, DWORD>::iterator it = facy.messages_timestamp.find(evt->seq);
+ std::map<int, time_t>::iterator it = facy.messages_timestamp.find(evt->seq);
if (it != facy.messages_timestamp.end()) {
// set correct timestamp of this message
evt->dbei->timestamp = it->second;