summaryrefslogtreecommitdiffstats
path: root/generic/tclTest.c
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley@noemail.net>2002-07-08 10:11:21 (GMT)
committervincentdarley <vincentdarley@noemail.net>2002-07-08 10:11:21 (GMT)
commit9ab2c2383a00cf3f0eb71a0e0675a9b03e6d72cb (patch)
tree90c60676e5dac1fdb8c287808fd164c4d68090c6 /generic/tclTest.c
parent8776eb8fa3f7e827257e609726e675a8e35cbed8 (diff)
downloadtcl-9ab2c2383a00cf3f0eb71a0e0675a9b03e6d72cb.zip
tcl-9ab2c2383a00cf3f0eb71a0e0675a9b03e6d72cb.tar.gz
tcl-9ab2c2383a00cf3f0eb71a0e0675a9b03e6d72cb.tar.bz2
fs cleanup
FossilOrigin-Name: 0262152f74290389b29ebf02a2306e47476f7b45
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r--generic/tclTest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 9f56bba..1928dc7 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclTest.c,v 1.53 2002/07/08 10:08:58 vincentdarley Exp $
+ * RCS: @(#) $Id: tclTest.c,v 1.54 2002/07/08 10:11:22 vincentdarley Exp $
*/
#define TCL_TEST
@@ -4785,7 +4785,7 @@ PretendTclpOpenFileChannel(interp, fileName, modeString, permissions)
Tcl_DecrRefCount(pathPtr);
if (ret != NULL) {
if (seekFlag) {
- if (Tcl_Seek(ret, 0, SEEK_END) < 0) {
+ if (Tcl_Seek(ret, (Tcl_WideInt)0, SEEK_END) < (Tcl_WideInt)0) {
if (interp != (Tcl_Interp *) NULL) {
Tcl_AppendResult(interp,
"could not seek to end of file while opening \"",