tclWinFile.c does not compile with Win VC6
Closed / Fixed3cdcfa40809ffd2b9d3d71f77dc57da615243730Created 12 years agoUpdated 12 years ago
Descriptionwiki2014-07-17 09:57:57
For me, tclWinFile.c does not compile, due to a signed/unsigned issue.
The patch is attached but should be checked.
This is also a marker for me, no time to look to now.
len is int, strlen returns something unsigned...
@@ -2928,7 +2928,7 @@
str = Tcl_GetStringFromObj(validPathPtr, &len);
- if (strlen(str)!=len) {
+ if (((int)strlen(str))!=len) {
/* String contains NUL-bytes. This is invalid. */
return 0;
}
Referenced by1
f15f329238Fix [3cdcfa40809ffd2b9d3d71f77dc57da615243730|3cdcfa4080]: tclWinFile.c does not compile with Win VC6 check-in2014-07-17 11:02:03
oehhar Ticket [3cdcfa4080]: 4 changes
[History diff]2014-07-17 09:58:35
jan.nijtmanswiki2014-07-17 11:04:15
Fixed in: [f15f329238]. Thanks!
Log in (anonymous is fine) to add a comment.