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)
commita6250b7467b38acdb154e904cd9903bab188810d (patch)
tree55eff3f3a1abf7dec86fd3947941fec40f83e1f1 /generic
parent96af7fcd51a853aac2eb09b6de444a9789e04638 (diff)
downloadtcl-a6250b7467b38acdb154e904cd9903bab188810d.zip
tcl-a6250b7467b38acdb154e904cd9903bab188810d.tar.gz
tcl-a6250b7467b38acdb154e904cd9903bab188810d.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 *));
}