summaryrefslogtreecommitdiffstats
path: root/generic/tclParse.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclParse.c')
-rw-r--r--generic/tclParse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclParse.c b/generic/tclParse.c
index 7b5de0f..e0b46e6 100644
--- a/generic/tclParse.c
+++ b/generic/tclParse.c
@@ -2505,7 +2505,7 @@ TclObjCommandComplete(
Tcl_Obj *objPtr) /* Points to object holding script to
* check. */
{
- int length;
+ size_t length;
const char *script = TclGetStringFromObj(objPtr, &length);
return CommandComplete(script, length);