summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2003-04-18 20:06:03 (GMT)
committerhobbs <hobbs@noemail.net>2003-04-18 20:06:03 (GMT)
commit922fd2427dea3ba89f932d99a6d4b0247670efa5 (patch)
tree3c184128709dd9948496c3008498cb3f4b427dd1 /generic/tclExecute.c
parent696146cc2cf5e387d794c06147f0d02353f00b8e (diff)
downloadtcl-922fd2427dea3ba89f932d99a6d4b0247670efa5.zip
tcl-922fd2427dea3ba89f932d99a6d4b0247670efa5.tar.gz
tcl-922fd2427dea3ba89f932d99a6d4b0247670efa5.tar.bz2
* generic/tclExecute.c (ExprCallMathFunc): remove incorrect
extraneous cast from Tcl_WideAsDouble. FossilOrigin-Name: f4804129d6c29da747f0ec419f01f8cb75cd90d9
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);