diff options
author | andreas_kupries <akupries@shaw.ca> | 2002-02-15 19:58:28 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2002-02-15 19:58:28 (GMT) |
commit | 097b4b7f2e14a0d47f82c9d8b7579bee651660b4 (patch) | |
tree | bc4839f43def6eadc8b2d9058b931dc569d662bf /generic/tclExecute.c | |
parent | 66a15c6f8be47c3acbdddffadc67f50dec8a56e6 (diff) | |
download | tcl-097b4b7f2e14a0d47f82c9d8b7579bee651660b4.zip tcl-097b4b7f2e14a0d47f82c9d8b7579bee651660b4.tar.gz tcl-097b4b7f2e14a0d47f82c9d8b7579bee651660b4.tar.bz2 |
* tclExecute.c:
* tclIOGT.c:
* tclIndexObj.c: Touchups to the TIP 72 patch to make it
compileable under Windows again. The changes are not complete,
there is one nasty regarding _stati64
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 546f000..21eb610 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclExecute.c,v 1.47 2002/02/15 14:28:49 dkf Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.48 2002/02/15 19:58:28 andreas_kupries Exp $ */ #include "tclInt.h" @@ -5781,7 +5781,7 @@ ExprCallMathFunc(interp, eePtr, objc, objv) Tcl_WideInt w = valuePtr->internalRep.wideValue; if (mathFuncPtr->argTypes[k] == TCL_DOUBLE) { args[k].type = TCL_DOUBLE; - args[k].wideValue = Tcl_WideAsDouble(w); + args[k].wideValue = (Tcl_WideInt) Tcl_WideAsDouble(w); } else if (mathFuncPtr->argTypes[k] == TCL_INT) { args[k].type = TCL_INT; args[k].wideValue = Tcl_WideAsLong(w); |