summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixTest.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-11 20:02:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-11 20:02:40 (GMT)
commitf8c365412ab16261db162c4018b225b1dd096aa8 (patch)
tree02e91e1577770fb368b1db809c5f12096e38d614 /unix/tclUnixTest.c
parent9d94ed0d5461f1677bc5483a618768872457b7dc (diff)
parent00268d4ae68741fdbf73a54412cd38648f9d7302 (diff)
downloadtcl-f8c365412ab16261db162c4018b225b1dd096aa8.zip
tcl-f8c365412ab16261db162c4018b225b1dd096aa8.tar.gz
tcl-f8c365412ab16261db162c4018b225b1dd096aa8.tar.bz2
Merge 8.7
In test-cases, don't load Tcltest package if it isn't actually used. Another round of size_t related improvements. Nothing functional. Also improve some comments.
Diffstat (limited to 'unix/tclUnixTest.c')
-rw-r--r--unix/tclUnixTest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tclUnixTest.c b/unix/tclUnixTest.c
index ceb64d9..ea28e18 100644
--- a/unix/tclUnixTest.c
+++ b/unix/tclUnixTest.c
@@ -761,7 +761,7 @@ TestchmodCmd(
if (translated == NULL) {
return TCL_ERROR;
}
- if (chmod(translated, (unsigned) mode) != 0) {
+ if (chmod(translated, mode) != 0) {
Tcl_AppendResult(interp, translated, ": ", Tcl_PosixError(interp),
NULL);
return TCL_ERROR;