summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclExecute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 5950b86..0b25113 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -9187,8 +9187,9 @@ ExecuteExtendedBinaryMathOp(
break;
case INST_MULT:
- if ((type1 != TCL_NUMBER_LONG) || (type2 != TCL_NUMBER_LONG)
- || (sizeof(Tcl_WideInt) < 2*sizeof(long))) {
+ if ((sizeof(Tcl_WideInt) < 2*sizeof(long))
+ || (type1 != TCL_NUMBER_LONG)
+ || (type2 != TCL_NUMBER_LONG)) {
goto overflowBasic;
}
wResult = w1 * w2;