Skip to content

Commit

Permalink
Fix dltest on Unix
Browse files Browse the repository at this point in the history
  • Loading branch information
apnadkarni committed Apr 19, 2023
1 parent 54a409d commit 9ed45ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/dltest/pkgt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9ed45ed

Please sign in to comment.