From b98b8f9181336b09931ec33f4f5e6451913de654 Mon Sep 17 00:00:00 2001 From: apnadkarni Date: Wed, 19 Apr 2023 04:20:19 +0000 Subject: Fix dltest on Unix --- unix/dltest/pkgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v0.12