mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[TIMEDATE] Fix a broken function pointer cast.
This commit is contained in:
@@ -342,7 +342,7 @@ OnAutoSync(BOOL Sync)
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
||||
static DWORD
|
||||
static DWORD WINAPI
|
||||
UpdateThread(
|
||||
_In_ LPVOID lpParameter)
|
||||
{
|
||||
@@ -368,7 +368,7 @@ OnUpdate(
|
||||
{
|
||||
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)TRUE);
|
||||
|
||||
if (CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)UpdateThread, (PVOID)hwndDlg, 0, NULL) == NULL)
|
||||
if (CreateThread(NULL, 0, UpdateThread, (PVOID)hwndDlg, 0, NULL) == NULL)
|
||||
{
|
||||
UpdateNTPStatus(hwndDlg, GetLastError());
|
||||
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)FALSE);
|
||||
|
||||
Reference in New Issue
Block a user