mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[TIMEDATE] Fix a broken function pointer cast.
This commit is contained in:
parent
a6946307fc
commit
12186bec12
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue