summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-17 06:02:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-17 06:02:36 (GMT)
commit6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247 (patch)
tree764a634adc0ddab6d9a9456d74fc449175c34275 /win/tclWinFile.c
parentfdb568c35f1cd6de7f1acd05fdbd4f8b6cf5aee1 (diff)
downloadtcl-6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247.zip
tcl-6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247.tar.gz
tcl-6def0d48c1fff35f9f5b3bfbe1ddbe6cedd2c247.tar.bz2
Handle sentinels for any C++ compiler
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 adc1d7d..5e47098 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -2476,7 +2476,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);