summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorandreask <andreask>2014-08-01 20:07:40 (GMT)
committerandreask <andreask>2014-08-01 20:07:40 (GMT)
commit6f329a1932ac170449caed077ca7f5596709433c (patch)
tree33a548b1c815761f267175bdff590a4993021143 /win
parent2a7d494c84c347710e0d9784a7cd62031baf9b8f (diff)
downloadtcl-6f329a1932ac170449caed077ca7f5596709433c.zip
tcl-6f329a1932ac170449caed077ca7f5596709433c.tar.gz
tcl-6f329a1932ac170449caed077ca7f5596709433c.tar.bz2
Addition of a cast in tclWinFile.c to match types in a comparison, and
fix of a TRACE string literal in tclExecute.c with a bogus escape. Both would otherwise bug a Windows debug build (where warnings are errors).
Diffstat (limited to 'win')
-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;
}