diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-25 22:20:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-05-25 22:20:46 (GMT) |
commit | 465bdaec966222568be55f538ab829802a7b1bdc (patch) | |
tree | 6155a170d39bf41680724feff5e25197d6caa06a /generic/tclIndexObj.c | |
parent | f22ee68af2c1341ded8742f6ab74394b67c79cef (diff) | |
download | tcl-465bdaec966222568be55f538ab829802a7b1bdc.zip tcl-465bdaec966222568be55f538ab829802a7b1bdc.tar.gz tcl-465bdaec966222568be55f538ab829802a7b1bdc.tar.bz2 |
Many int-> size_t
Diffstat (limited to 'generic/tclIndexObj.c')
-rw-r--r-- | generic/tclIndexObj.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/tclIndexObj.c b/generic/tclIndexObj.c index 40aabce..ba1fc27 100644 --- a/generic/tclIndexObj.c +++ b/generic/tclIndexObj.c @@ -26,13 +26,13 @@ static void UpdateStringOfIndex(Tcl_Obj *objPtr); static void DupIndex(Tcl_Obj *srcPtr, Tcl_Obj *dupPtr); static void FreeIndex(Tcl_Obj *objPtr); static int PrefixAllObjCmd(void *clientData, - Tcl_Interp *interp, int objc, + Tcl_Interp *interp, size_t objc, Tcl_Obj *const objv[]); static int PrefixLongestObjCmd(void *clientData, - Tcl_Interp *interp, int objc, + Tcl_Interp *interp, size_t objc, Tcl_Obj *const objv[]); static int PrefixMatchObjCmd(void *clientData, - Tcl_Interp *interp, int objc, + Tcl_Interp *interp, size_t objc, Tcl_Obj *const objv[]); static void PrintUsage(Tcl_Interp *interp, const Tcl_ArgvInfo *argTable); @@ -506,11 +506,11 @@ static int PrefixMatchObjCmd( TCL_UNUSED(void *), Tcl_Interp *interp, /* Current interpreter. */ - int objc, /* Number of arguments. */ + size_t objc, /* Number of arguments. */ Tcl_Obj *const objv[]) /* Argument objects. */ { - int flags = 0, result, dummy, i; - size_t dummyLength, errorLength; + int flags = 0, result, dummy; + size_t dummyLength, errorLength, i; Tcl_Obj *errorPtr = NULL; const char *message = "option"; Tcl_Obj *tablePtr, *objPtr, *resultPtr; @@ -630,7 +630,7 @@ static int PrefixAllObjCmd( TCL_UNUSED(void *), Tcl_Interp *interp, /* Current interpreter. */ - int objc, /* Number of arguments. */ + size_t objc, /* Number of arguments. */ Tcl_Obj *const objv[]) /* Argument objects. */ { int result; @@ -688,7 +688,7 @@ static int PrefixLongestObjCmd( TCL_UNUSED(void *), Tcl_Interp *interp, /* Current interpreter. */ - int objc, /* Number of arguments. */ + size_t objc, /* Number of arguments. */ Tcl_Obj *const objv[]) /* Argument objects. */ { int result; |