summaryrefslogtreecommitdiffstats
path: root/generic/tclIOCmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclIOCmd.c')
-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 *));
}