mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:03:25 +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);
|
RegCloseKey(hKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
static DWORD
|
static DWORD WINAPI
|
||||||
UpdateThread(
|
UpdateThread(
|
||||||
_In_ LPVOID lpParameter)
|
_In_ LPVOID lpParameter)
|
||||||
{
|
{
|
||||||
|
@ -368,7 +368,7 @@ OnUpdate(
|
||||||
{
|
{
|
||||||
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)TRUE);
|
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());
|
UpdateNTPStatus(hwndDlg, GetLastError());
|
||||||
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)FALSE);
|
SetWindowLongPtr(hwndDlg, DWLP_USER, (LONG_PTR)FALSE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue