summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-19 18:48:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-19 18:48:35 (GMT)
commit51e588cf28021f28bb204b2af46538f21afe7fb9 (patch)
tree364627b4ae36382dee748096f92f74b1977d4ae8 /win/tclWinFile.c
parentef59242a2b952b5fede0131ca5c06acc36098a2c (diff)
parent9d3abb8846c9436ab40ac8ed9ecbaa9195f6e1f2 (diff)
downloadtcl-51e588cf28021f28bb204b2af46538f21afe7fb9.zip
tcl-51e588cf28021f28bb204b2af46538f21afe7fb9.tar.gz
tcl-51e588cf28021f28bb204b2af46538f21afe7fb9.tar.bz2
Merge 8.7
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 cf71974..c0dd4fd 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -2457,7 +2457,7 @@ TclpFilesystemPathType(
return NULL;
}
- firstSeparator = strchr(path, '/');
+ firstSeparator = strchr((char *)path, '/');
if (firstSeparator == NULL) {
found = GetVolumeInformationW((const WCHAR *)Tcl_FSGetNativePath(pathPtr),
NULL, 0, NULL, NULL, NULL, volType, VOL_BUF_SIZE);