summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2002-03-24 18:09:19 (GMT)
committervincentdarley <vincentdarley>2002-03-24 18:09:19 (GMT)
commitb81b0779c56b017a12588c6800507f3cef5fc499 (patch)
treeb5ba918da16768a37943ae82d0b2220f3c2ee51c /unix
parent8a02ee155f91a31fb66ddc39cbbf1d1bbbeb4f36 (diff)
downloadtcl-b81b0779c56b017a12588c6800507f3cef5fc499.zip
tcl-b81b0779c56b017a12588c6800507f3cef5fc499.tar.gz
tcl-b81b0779c56b017a12588c6800507f3cef5fc499.tar.bz2
fixed typo and compiler warning in last commit; all tests now pass on unix
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixFCmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index 49131de..f9610fd 100644
--- a/unix/tclUnixFCmd.c
+++ b/unix/tclUnixFCmd.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixFCmd.c,v 1.18 2002/03/24 11:41:51 vincentdarley Exp $
+ * RCS: @(#) $Id: tclUnixFCmd.c,v 1.19 2002/03/24 18:09:19 vincentdarley Exp $
*
* Portions of this code were derived from NetBSD source code which has
* the following copyright notice:
@@ -1690,7 +1690,7 @@ TclpObjNormalizePath(interp, pathPtr, nextCheckpoint)
*/
Tcl_DStringFree(&ds);
Tcl_ExternalToUtfDString(NULL,normPath,
- strlen(normPath),&ds);
+ (unsigned)strlen(normPath),&ds);
if (path[nextCheckpoint] != '\0') {
/* not at end, append remaining path */