summaryrefslogtreecommitdiffstats
path: root/win/tclWinReg.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2023-10-30 19:06:54 (GMT)
committerdgp <dgp@users.sourceforge.net>2023-10-30 19:06:54 (GMT)
commitcf4672dec51a015fb357be209172ec7868221fce (patch)
tree5a37089af088bf737d53f3dce889783ac96edb94 /win/tclWinReg.c
parentbef850202648b074dc6f91df7cedbe2896f5f62c (diff)
parent6963024f13c68b475b0768c3ba23d9ee53ba8f14 (diff)
downloadtcl-cf4672dec51a015fb357be209172ec7868221fce.zip
tcl-cf4672dec51a015fb357be209172ec7868221fce.tar.gz
tcl-cf4672dec51a015fb357be209172ec7868221fce.tar.bz2
merge 8.7
Diffstat (limited to 'win/tclWinReg.c')
-rw-r--r--win/tclWinReg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinReg.c b/win/tclWinReg.c
index 1ccb105..4157380 100644
--- a/win/tclWinReg.c
+++ b/win/tclWinReg.c
@@ -462,7 +462,7 @@ DeleteKey(
if (*keyName == '\0') {
Tcl_SetObjResult(interp,
Tcl_NewStringObj("bad key: cannot delete root keys", TCL_INDEX_NONE));
- Tcl_SetErrorCode(interp, "WIN_REG", "DEL_ROOT_KEY", NULL);
+ Tcl_SetErrorCode(interp, "WIN_REG", "DEL_ROOT_KEY", (void *)NULL);
Tcl_Free(buffer);
return TCL_ERROR;
}
@@ -1143,7 +1143,7 @@ ParseKeyName(
if (!rootName) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"bad key \"%s\": must start with a valid root", name));
- Tcl_SetErrorCode(interp, "WIN_REG", "NO_ROOT_KEY", NULL);
+ Tcl_SetErrorCode(interp, "WIN_REG", "NO_ROOT_KEY", (void *)NULL);
return TCL_ERROR;
}
@@ -1535,7 +1535,7 @@ AppendSystemError(
}
snprintf(id, sizeof(id), "%ld", error);
- Tcl_SetErrorCode(interp, "WINDOWS", id, msg, NULL);
+ Tcl_SetErrorCode(interp, "WINDOWS", id, msg, (void *)NULL);
Tcl_AppendToObj(resultPtr, msg, length);
Tcl_SetObjResult(interp, resultPtr);