From 67547945bd4b02e64ed52334c3e2f3fb156b9003 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 5 May 2014 06:02:56 +0000 Subject: [PATCH] =?UTF-8?q?Popravil=20sem=20metode=20AL=5FWireToHostFormat?= =?UTF-8?q?...()=20in=20AL=5FHostToWireFormat...(),=20da=20so=20preglednej?= =?UTF-8?q?=C5=A1e=20in=20da=20delujejo=20tudi,=20kadar=20je=20vklopljen?= =?UTF-8?q?=20"smaller=20type=20check".?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Med registracijo sem dodal še ponovni zagon servisa EapHost. --- OpTS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpTS.cpp b/OpTS.cpp index 7524131..cd87f32 100644 --- a/OpTS.cpp +++ b/OpTS.cpp @@ -406,8 +406,8 @@ HRESULT COpTaskCreate::Execute(CSession *pSession) } // Convert numerical date to DMY (ULONGLONG -> FILETIME -> SYSTEMTIME). - ftValue.dwHighDateTime = ullValue >> 32; - ftValue.dwLowDateTime = ullValue & 0xffffffff; + ftValue.dwHighDateTime = (DWORD)((ullValue >> 32) & 0xffffffff); + ftValue.dwLowDateTime = (DWORD)( ullValue & 0xffffffff); ::FileTimeToSystemTime(&ftValue, &stValue); // Set new trigger date and time.