summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-18 06:47:51 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-18 06:47:51 (GMT)
commit3b92efc33d10a2042ab874a2812b293de57c54a1 (patch)
tree55eff3f3a1abf7dec86fd3947941fec40f83e1f1 /generic
parentea9c5d778a6e1dffabfb1138daa94f9ef796dabc (diff)
downloadtcl-3b92efc33d10a2042ab874a2812b293de57c54a1.zip
tcl-3b92efc33d10a2042ab874a2812b293de57c54a1.tar.gz
tcl-3b92efc33d10a2042ab874a2812b293de57c54a1.tar.bz2
A few more compiler warnings
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIOCmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIOCmd.c b/generic/tclIOCmd.c
index 44c2738..7d54156 100644
--- a/generic/tclIOCmd.c
+++ b/generic/tclIOCmd.c
@@ -779,7 +779,7 @@ Tcl_ExecObjCmd(dummy, interp, objc, objv)
argv = argStorage;
argc = objc - skip;
- if ((argc + 1) > sizeof(argv) / sizeof(argv[0])) {
+ if ((argc + 1) > (int)(sizeof(argv) / sizeof(argv[0]))) {
argv = (CONST char **) ckalloc((unsigned)(argc + 1) * sizeof(char *));
}