summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-03 16:02:14 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-05-03 16:02:14 +0200
commit3ad2582c4a4a6378f294f9256ecbcbdf0ae88e3a (patch)
tree412a28ef6a572efc7039df1c363bf47a3dec4b19 /plugins/New_GPG/src
parent9a6f750a482d1d1ebf4281bb7bf8133e547ad438 (diff)
mir_forkThread<typename> - stronger typizatioin for thread function parameter
Diffstat (limited to 'plugins/New_GPG/src')
-rwxr-xr-xplugins/New_GPG/src/utilities.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp
index 33de2251a7..f8c2531190 100755
--- a/plugins/New_GPG/src/utilities.cpp
+++ b/plugins/New_GPG/src/utilities.cpp
@@ -568,7 +568,7 @@ void HistoryLog(MCONTACT hContact, db_event evt)
Event.eventType = evt.eventType;
Event.flags = evt.flags;
if (!evt.timestamp)
- Event.timestamp = (DWORD)time(nullptr);
+ Event.timestamp = (DWORD)time(0);
else
Event.timestamp = evt.timestamp;
Event.cbBlob = (DWORD)mir_strlen((char*)evt.pBlob) + 1;