summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-09-28 14:29:22 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-09-28 14:29:22 (GMT)
commit45a151a70dec0822c0f3b37344b20ee28b9c1460 (patch)
tree3bdf8d1fca25eb2f0076c978df408cd6696c7aec /generic/tclIO.c
parent129498a7498a4bf8d13a08e387a847bf26d01d04 (diff)
downloadtcl-45a151a70dec0822c0f3b37344b20ee28b9c1460.zip
tcl-45a151a70dec0822c0f3b37344b20ee28b9c1460.tar.gz
tcl-45a151a70dec0822c0f3b37344b20ee28b9c1460.tar.bz2
Factoring out some more 64/32-bit OS interfaces
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 48811f9..b6ab481 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.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: tclIO.c,v 1.35.6.3 2001/09/27 14:23:03 dkf Exp $
+ * RCS: @(#) $Id: tclIO.c,v 1.35.6.4 2001/09/28 14:29:23 dkf Exp $
*/
#include "tclInt.h"
@@ -5464,7 +5464,7 @@ Tcl_Tell(chan)
*/
curPos = (chanPtr->typePtr->seekProc) (chanPtr->instanceData,
- (Tcl_WideInt)0, SEEK_CUR, &result);
+ Tcl_LongAsWide(0), SEEK_CUR, &result);
if (curPos == -1) {
Tcl_SetErrno(result);
return -1;