diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-04-26 15:53:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-04-26 15:53:40 (GMT) |
commit | cd51753d86cde24e24f0fa1c6edf6821ba25d0aa (patch) | |
tree | d4ba6b39c3f40354edd6a8bf89eb6c5573528925 /generic/tclObj.c | |
parent | f227a5d1ff1c36d3bc5eca3f7378d5064d59d4eb (diff) | |
download | tcl-cd51753d86cde24e24f0fa1c6edf6821ba25d0aa.zip tcl-cd51753d86cde24e24f0fa1c6edf6821ba25d0aa.tar.gz tcl-cd51753d86cde24e24f0fa1c6edf6821ba25d0aa.tar.bz2 |
More size_t -> Tcl_Size changes, which were missed before. Also (experimental) make the wrapper macro's produce compiler warnings is Tcl_Size is not used.
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r-- | generic/tclObj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c index a978a09..9d27fca 100644 --- a/generic/tclObj.c +++ b/generic/tclObj.c @@ -1702,7 +1702,7 @@ TclGetStringFromObj( if (lengthPtr != NULL) { if (objPtr->length > INT_MAX) { Tcl_Panic("Tcl_GetStringFromObj with 'int' lengthPtr" - " cannot handle such long strings. Please use 'size_t'"); + " cannot handle such long strings. Please use 'Tcl_Size'"); } *lengthPtr = (int)objPtr->length; } |