diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-04 15:52:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-04 15:52:50 (GMT) |
commit | 3e92ec87dfc451e3f36387bc85f0646c659f2d8f (patch) | |
tree | 8bcf9711d80d9ecfeecbb620c55f4ad488f665b4 /win/tclWinReg.c | |
parent | 8defb7d10b69cdbe3219de6ae2dc169dc8df8bb9 (diff) | |
download | tcl-3e92ec87dfc451e3f36387bc85f0646c659f2d8f.zip tcl-3e92ec87dfc451e3f36387bc85f0646c659f2d8f.tar.gz tcl-3e92ec87dfc451e3f36387bc85f0646c659f2d8f.tar.bz2 |
Fix some gcc(-9) warnings caused by -Wcast-function-type
Diffstat (limited to 'win/tclWinReg.c')
-rw-r--r-- | win/tclWinReg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinReg.c b/win/tclWinReg.c index 7bbb10b..16a0d3d 100644 --- a/win/tclWinReg.c +++ b/win/tclWinReg.c @@ -1235,7 +1235,7 @@ RecursiveDeleteKey( checkExProc = 1; handle = GetModuleHandleW(L"ADVAPI32"); regDeleteKeyExProc = (LONG (*) (HKEY, LPCWSTR, REGSAM, DWORD)) - GetProcAddress(handle, "RegDeleteKeyExW"); + (void *)GetProcAddress(handle, "RegDeleteKeyExW"); } if (mode && regDeleteKeyExProc) { result = regDeleteKeyExProc(startKey, keyName, mode, 0); |