summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-25 12:23:26 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-25 12:23:26 (GMT)
commitd33fc57550e1921bfadb8fe4b90d7e55bf23e6f5 (patch)
tree27742d7331ddd32521928a0fddf392fefab08cc3 /generic/tclInt.h
parentcb8b6e12a2cdd53e563f6b6ceec2a935cbe1a393 (diff)
downloadtcl-d33fc57550e1921bfadb8fe4b90d7e55bf23e6f5.zip
tcl-d33fc57550e1921bfadb8fe4b90d7e55bf23e6f5.tar.gz
tcl-d33fc57550e1921bfadb8fe4b90d7e55bf23e6f5.tar.bz2
Some more int -> Tcl_Size conversions, making the diff with the Tcl 9.0 header-files smaller
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 40cf10c..6af0991 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -4190,8 +4190,8 @@ MODULE_SCOPE int TclIndexEncode(Tcl_Interp *interp, Tcl_Obj *objPtr,
MODULE_SCOPE int TclIndexDecode(int encoded, int endValue);
/* Constants used in index value encoding routines. */
-#define TCL_INDEX_END (-2)
-#define TCL_INDEX_START (0)
+#define TCL_INDEX_END ((Tcl_Size)-2)
+#define TCL_INDEX_START ((Tcl_Size)0)
/*
*----------------------------------------------------------------------
@@ -4697,7 +4697,7 @@ MODULE_SCOPE const TclFileAttrProcs tclpFileAttrProcs[];
* of counting along a string of all one-byte characters. The ANSI C
* "prototype" for this macro is:
*
- * MODULE_SCOPE void TclNumUtfChars(int numChars, const char *bytes,
+ * MODULE_SCOPE void TclNumUtfCharsM(int numChars, const char *bytes,
* int numBytes);
*----------------------------------------------------------------
*/