summaryrefslogtreecommitdiffstats
path: root/unix/dltest/pkgt.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix/dltest/pkgt.c')
-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;
}