From 3ad2582c4a4a6378f294f9256ecbcbdf0ae88e3a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 May 2018 16:02:14 +0200 Subject: mir_forkThread - stronger typizatioin for thread function parameter --- plugins/Popup/src/history.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Popup/src/history.cpp') diff --git a/plugins/Popup/src/history.cpp b/plugins/Popup/src/history.cpp index 163fea25bb..5be7176009 100644 --- a/plugins/Popup/src/history.cpp +++ b/plugins/Popup/src/history.cpp @@ -82,7 +82,7 @@ void PopupHistoryAdd(POPUPDATA2 *ppdNew) ppd->lpzText = mir_strdup(ppd->lpzText); } ppd->lpzSkin = mir_strdup(ppd->lpzSkin); - ppd->dwTimestamp = time(nullptr); + ppd->dwTimestamp = time(0); { mir_cslock lck(csPopupHistory); if (arPopupHistory.getCount() >= popupHistoryBuffer) { -- cgit v1.2.3