summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-04-19 04:20:19 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-04-19 04:20:19 (GMT)
commitb98b8f9181336b09931ec33f4f5e6451913de654 (patch)
treead3dd51bee48c44ac22b675cc5a634ec327c7adc
parentaab1aa08f01ce2022df607d2ed1265021a0e1c81 (diff)
downloadtcl-b98b8f9181336b09931ec33f4f5e6451913de654.zip
tcl-b98b8f9181336b09931ec33f4f5e6451913de654.tar.gz
tcl-b98b8f9181336b09931ec33f4f5e6451913de654.tar.bz2
Fix dltest on Unix
-rw-r--r--unix/dltest/pkgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/dltest/pkgt.c b/unix/dltest/pkgt.c
index 6264aec..0c4b3d7 100644
--- a/unix/dltest/pkgt.c
+++ b/unix/dltest/pkgt.c
@@ -71,7 +71,7 @@ Pkgt_EqObjCmd2(
str1 = Tcl_GetStringFromObj(objv[1], &len1);
str2 = Tcl_GetStringFromObj(objv[2], &len2);
if (len1 == len2) {
- result = (Tcl_UtfNcmp(str1, str2, len1) == 0);
+ result = (Tcl_UtfNcmp(str1, str2, (size_t)len1) == 0);
} else {
result = 0;
}