diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-20 21:47:26 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-06-20 21:47:26 (GMT) |
commit | 26e99bad85be55cb8f27649867fdcebfd92d424b (patch) | |
tree | 2622dff5d8005e8fac304fc4fee533d5d1c34a8b /generic/tclIntDecls.h | |
parent | c43ea691ad581cf0ce07b45cdbafc84a1fe2a07e (diff) | |
download | tcl-26e99bad85be55cb8f27649867fdcebfd92d424b.zip tcl-26e99bad85be55cb8f27649867fdcebfd92d424b.tar.gz tcl-26e99bad85be55cb8f27649867fdcebfd92d424b.tar.bz2 |
Fix (internal) TclFindElement() signature (int -> size_t)
Diffstat (limited to 'generic/tclIntDecls.h')
-rw-r--r-- | generic/tclIntDecls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIntDecls.h b/generic/tclIntDecls.h index d3c05d5..9393c96 100644 --- a/generic/tclIntDecls.h +++ b/generic/tclIntDecls.h @@ -87,7 +87,7 @@ EXTERN void TclExprFloatError(Tcl_Interp *interp, double value); /* Slot 21 is reserved */ /* 22 */ EXTERN int TclFindElement(Tcl_Interp *interp, - const char *listStr, int listLength, + const char *listStr, size_t listLength, const char **elementPtr, const char **nextPtr, size_t *sizePtr, int *bracePtr); @@ -603,7 +603,7 @@ typedef struct TclIntStubs { void (*reserved19)(void); void (*reserved20)(void); void (*reserved21)(void); - int (*tclFindElement) (Tcl_Interp *interp, const char *listStr, int listLength, const char **elementPtr, const char **nextPtr, size_t *sizePtr, int *bracePtr); /* 22 */ + int (*tclFindElement) (Tcl_Interp *interp, const char *listStr, size_t listLength, const char **elementPtr, const char **nextPtr, size_t *sizePtr, int *bracePtr); /* 22 */ Proc * (*tclFindProc) (Interp *iPtr, const char *procName); /* 23 */ size_t (*tclFormatInt) (char *buffer, Tcl_WideInt n); /* 24 */ void (*tclFreePackageInfo) (Interp *iPtr); /* 25 */ |