summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 1cdd53f..fe84a26 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -2929,7 +2929,7 @@ TclNativeCreateNativeRep(
str = Tcl_GetString(validPathPtr);
len = validPathPtr->length;
- if (strlen(str)!=len) {
+ if (strlen(str)!=(unsigned int)len) {
/* String contains NUL-bytes. This is invalid. */
return 0;
}