summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-04-18 20:06:03 (GMT)
committerhobbs <hobbs>2003-04-18 20:06:03 (GMT)
commit8eeb1a27131c17ff236b9dd6ab105fdcafe79b51 (patch)
tree3c184128709dd9948496c3008498cb3f4b427dd1 /generic/tclExecute.c
parent5de1615fe3e5d15f128ac5fcceb281e568b119cf (diff)
downloadtcl-8eeb1a27131c17ff236b9dd6ab105fdcafe79b51.zip
tcl-8eeb1a27131c17ff236b9dd6ab105fdcafe79b51.tar.gz
tcl-8eeb1a27131c17ff236b9dd6ab105fdcafe79b51.tar.bz2
* generic/tclExecute.c (ExprCallMathFunc): remove incorrect
extraneous cast from Tcl_WideAsDouble.
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index e0dd860..272d939 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.94.2.1 2003/04/16 23:31:43 dgp Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.94.2.2 2003/04/18 20:06:05 hobbs Exp $
*/
#include "tclInt.h"
@@ -5498,7 +5498,7 @@ ExprCallMathFunc(interp, eePtr, objc, objv)
TclGetWide(w,valuePtr);
if (mathFuncPtr->argTypes[k] == TCL_DOUBLE) {
args[k].type = TCL_DOUBLE;
- args[k].doubleValue = (Tcl_WideInt) Tcl_WideAsDouble(w);
+ args[k].doubleValue = Tcl_WideAsDouble(w);
} else if (mathFuncPtr->argTypes[k] == TCL_INT) {
args[k].type = TCL_INT;
args[k].intValue = Tcl_WideAsLong(w);