diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-27 17:13:59 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-10-27 17:13:59 (GMT) |
| commit | 14ab5ccf54dac59237afc1a65d09a4a4860f197b (patch) | |
| tree | 67c647f931ab8031a7e1c270b81129ea8ebac784 /win/tclWinReg.c | |
| parent | da07fbe0220630931595f469782262f84303e064 (diff) | |
| download | tcl-14ab5ccf54dac59237afc1a65d09a4a4860f197b.zip tcl-14ab5ccf54dac59237afc1a65d09a4a4860f197b.tar.gz tcl-14ab5ccf54dac59237afc1a65d09a4a4860f197b.tar.bz2 | |
[26870862f0] follow-up: of course it was not complete yet
Diffstat (limited to 'win/tclWinReg.c')
| -rw-r--r-- | win/tclWinReg.c | 6 |
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); |
