summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-05 20:35:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-05 20:35:45 (GMT)
commit92816a0c35892a654cc4a4a24260eb367f274bf3 (patch)
tree308f7d4b1d0ca93a9dd71ae259ec3486e21823be /win/tclWinReg.c
parentdc81b2efafb3f33e0da6dc17a3e1a4746da91fd6 (diff)
downloadtcl-92816a0c35892a654cc4a4a24260eb367f274bf3.zip
tcl-92816a0c35892a654cc4a4a24260eb367f274bf3.tar.gz
tcl-92816a0c35892a654cc4a4a24260eb367f274bf3.tar.bz2
Change LSTATUS to LONG, since older SDK's don't know it.
core.tcl.tk -> core.tcl-lang.org and htt -> https
Diffstat (limited to 'win/tclWinReg.c')
-rw-r--r--win/tclWinReg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index 068e5d7..5f6cba4 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -1194,7 +1194,7 @@ RecursiveDeleteKey(
HKEY hKey;
REGSAM saveMode = mode;
static int checkExProc = 0;
- static LSTATUS (* regDeleteKeyExProc) (HKEY, LPCWSTR, REGSAM, DWORD) = (LSTATUS (*) (HKEY, LPCWSTR, REGSAM, DWORD)) NULL;
+ static LONG (* regDeleteKeyExProc) (HKEY, LPCWSTR, REGSAM, DWORD) = (LONG (*) (HKEY, LPCWSTR, REGSAM, DWORD)) NULL;
/*
* Do not allow NULL or empty key name.
@@ -1234,7 +1234,7 @@ RecursiveDeleteKey(
checkExProc = 1;
handle = GetModuleHandleW(L"ADVAPI32");
- regDeleteKeyExProc = (LSTATUS (*) (HKEY, LPCWSTR, REGSAM, DWORD))
+ regDeleteKeyExProc = (LONG (*) (HKEY, LPCWSTR, REGSAM, DWORD))
GetProcAddress(handle, "RegDeleteKeyExW");
}
if (mode && regDeleteKeyExProc) {