summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-28 11:50:53 (GMT)
committernijtmans <nijtmans>2010-04-28 11:50:53 (GMT)
commitdd801c86b1a462d516d4e3b97e459fc41a4be684 (patch)
treed670f15c4e6711c3221297fd0c7137f4ae51d7ae /generic/tclExecute.c
parentad4fb382c8f0c304d9349c4b2db7aecd8ace54cb (diff)
downloadtcl-dd801c86b1a462d516d4e3b97e459fc41a4be684.zip
tcl-dd801c86b1a462d516d4e3b97e459fc41a4be684.tar.gz
tcl-dd801c86b1a462d516d4e3b97e459fc41a4be684.tar.bz2
Remove unused @MAN2TCLFLAGS@
Move <limits.h> include from tclInt.h to tclWinPort.h, and eliminate unneeded <stdlib.h>, <stdio.h> and <string.h>, which are already in tclInt.h Move "tclInt.h" from regcustom.h up to regex.h. tclAlloc.c: Unneeded <stdio.h> include tclExecute.c: Fix gcc warning: comparison between signed and unsigned
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 44988ae..04c47f4 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -14,7 +14,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.480 2010/04/28 10:50:34 dkf Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.481 2010/04/28 11:50:53 nijtmans Exp $
*/
#include "tclInt.h"
@@ -5081,7 +5081,7 @@ TclExecuteByteCode(
* Quickly force large right shifts to 0 or -1.
*/
- if (l2 >= CHAR_BIT*sizeof(long)) {
+ if (l2 >= (long)(CHAR_BIT*sizeof(long))) {
/*
* We assume that INT_MAX is much larger than the
* number of bits in a long. This is a pretty safe