summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixFCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-05 19:57:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-05 19:57:48 (GMT)
commite4e106233842d77095bf459f14bb82e953bc8c6f (patch)
treef51bc271d7aea5c9938d3d00a661ab7ac3307c07 /unix/tclUnixFCmd.c
parent0968aa6de7b67ed474049bb1f53a03b192f9c07c (diff)
downloadtcl-e4e106233842d77095bf459f14bb82e953bc8c6f.zip
tcl-e4e106233842d77095bf459f14bb82e953bc8c6f.tar.gz
tcl-e4e106233842d77095bf459f14bb82e953bc8c6f.tar.bz2
Another round of -1 -> TCL_INDEX_NONE
Diffstat (limited to 'unix/tclUnixFCmd.c')
-rw-r--r--unix/tclUnixFCmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index b205061..c9d7c45 100644
--- a/unix/tclUnixFCmd.c
+++ b/unix/tclUnixFCmd.c
@@ -1648,7 +1648,7 @@ SetPermissionsAttribute(
Tcl_Obj *modeObj;
TclNewLiteralStringObj(modeObj, "0o");
- Tcl_AppendToObj(modeObj, modeStringPtr+scanned+1, -1);
+ Tcl_AppendToObj(modeObj, modeStringPtr+scanned+1, TCL_INDEX_NONE);
result = Tcl_GetWideIntFromObj(NULL, modeObj, &mode);
Tcl_DecrRefCount(modeObj);
}