summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2003-04-18 20:03:50 (GMT)
committerhobbs <hobbs>2003-04-18 20:03:50 (GMT)
commit229573d81bd4d08e619a3f30e653d27cfd880803 (patch)
treefcbbe35d8b18dc8338e72ccc46ccb4258c4f1774 /generic/tclExecute.c
parent8e14c71e4836cea59d9bba5ef2d0a7a55a21b2a7 (diff)
downloadtcl-229573d81bd4d08e619a3f30e653d27cfd880803.zip
tcl-229573d81bd4d08e619a3f30e653d27cfd880803.tar.gz
tcl-229573d81bd4d08e619a3f30e653d27cfd880803.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 24a48db..bcdb242 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.98 2003/04/16 23:33:44 dgp Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.99 2003/04/18 20:03:50 hobbs Exp $
*/
#include "tclInt.h"
@@ -5491,7 +5491,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);