diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-22 09:07:44 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-03-22 09:07:44 (GMT) |
commit | 5743a71270096ed595e6208040c547b84006d1b0 (patch) | |
tree | d531ee2c448630f1c7fcb51dba9ce451bb68a542 /generic/tclCompExpr.c | |
parent | 40986d0eb9b2abc7fcdfecd71609df01902941b6 (diff) | |
download | tcl-5743a71270096ed595e6208040c547b84006d1b0.zip tcl-5743a71270096ed595e6208040c547b84006d1b0.tar.gz tcl-5743a71270096ed595e6208040c547b84006d1b0.tar.bz2 |
(cherry-pick): Fix signed-unsigned-compare warning (reported by François Vogel on Windows, but gcc can trigger it as well)
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r-- | generic/tclCompExpr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c index 50edbec..2ffcc68 100644 --- a/generic/tclCompExpr.c +++ b/generic/tclCompExpr.c @@ -666,7 +666,7 @@ ParseExpr( OpNode *newPtr = NULL; do { - if (size <= UINT_MAX/sizeof(OpNode)) { + if (size <= (int)(UINT_MAX/sizeof(OpNode))) { newPtr = attemptckrealloc(nodes, size * sizeof(OpNode)); } } while ((newPtr == NULL) |