summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-04-02 18:21:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-04-02 18:21:09 (GMT)
commit9d183921c98e6c400a421618f9e077069380ba34 (patch)
tree12be49ecfe7aa09f679bc18ddb50da6f8a49860c
parentb938ddd055607f4839824061f4b03daf737a1a52 (diff)
downloadtcl-9d183921c98e6c400a421618f9e077069380ba34.zip
tcl-9d183921c98e6c400a421618f9e077069380ba34.tar.gz
tcl-9d183921c98e6c400a421618f9e077069380ba34.tar.bz2
Fix gcc warning on 32-bit platforms
-rw-r--r--generic/tclExecute.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index 189832f..4c36123 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -8734,7 +8734,9 @@ ExecuteExtendedBinaryMathOp(
switch (type2) {
case TCL_NUMBER_LONG:
l2 = *((const long *) ptr2);
+#ifndef TCL_WIDE_INT_IS_LONG
pwrLongExpon:
+#endif
if (l2 == 0) {
/*
* Anything to the zero power is 1.
@@ -8776,7 +8778,9 @@ ExecuteExtendedBinaryMathOp(
switch (type1) {
case TCL_NUMBER_LONG:
l1 = *((const long *)ptr1);
+#ifndef TCL_WIDE_INT_IS_LONG
pwrLongBase:
+#endif
switch (l1) {
case 0:
/*