projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a694630
)
[TIMEDATE] Fix a broken function pointer cast.
author
Thomas Faber
<thomas.faber@reactos.org>
Sat, 15 Aug 2020 19:36:42 +0000
(21:36 +0200)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sat, 15 Aug 2020 20:37:42 +0000
(22:37 +0200)
dll/cpl/timedate/internettime.c
patch
|
blob
|
history
diff --git
a/dll/cpl/timedate/internettime.c
b/dll/cpl/timedate/internettime.c
index
001c25d
..
68cd0b2
100644
(file)
--- a/
dll/cpl/timedate/internettime.c
+++ b/
dll/cpl/timedate/internettime.c
@@
-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);