summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-05 14:03:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-05 14:03:59 (GMT)
commit36d1b8447caf0aba9a4adf65b13029f35f89c0d9 (patch)
treec206100cf0df64c1cdcb22ffc8e94903af64b956 /win
parent9eeda3feb240ef5f29417a952c06a8c5b12dc3bd (diff)
parent541f9afd42cb81059b0e3cfddd7d2fa5ba4e5572 (diff)
downloadtcl-36d1b8447caf0aba9a4adf65b13029f35f89c0d9.zip
tcl-36d1b8447caf0aba9a4adf65b13029f35f89c0d9.tar.gz
tcl-36d1b8447caf0aba9a4adf65b13029f35f89c0d9.tar.bz2
Update all internal tables to Unicode 13.
(while on it) sync tclWinDdde.c and tclWinReg.c, making it 100% identical to other branches.
Diffstat (limited to 'win')
-rw-r--r--win/tclWinDde.c2
-rw-r--r--win/tclWinReg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c
index a4c00fa..2fc4990 100644
--- a/win/tclWinDde.c
+++ b/win/tclWinDde.c
@@ -251,7 +251,7 @@ Initialize(void)
if (ddeInstance == 0) {
Tcl_MutexLock(&ddeMutex);
if (ddeInstance == 0) {
- if (DdeInitializeW(&ddeInstance, (PFNCALLBACK) DdeServerProc,
+ if (DdeInitializeW(&ddeInstance, (PFNCALLBACK)(void *)DdeServerProc,
CBF_SKIP_REGISTRATIONS | CBF_SKIP_UNREGISTRATIONS
| CBF_FAIL_POKES, 0) != DMLERR_NO_ERROR) {
ddeInstance = 0;
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);