diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-07 18:14:39 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-03-07 18:14:39 (GMT) |
commit | 82acd6a35a2efe65efe21a1ee63710ee8a7af8ce (patch) | |
tree | 3532e3b31a3f14f668ebdecbacd4071abe96c5cc /win/tclWin32Dll.c | |
parent | 4df874dd7fcd7292ca7110d27e0d26ad8b551360 (diff) | |
parent | 5cf1eed9106acd1a6e751b414506b0e38f6a79a7 (diff) | |
download | tcl-82acd6a35a2efe65efe21a1ee63710ee8a7af8ce.zip tcl-82acd6a35a2efe65efe21a1ee63710ee8a7af8ce.tar.gz tcl-82acd6a35a2efe65efe21a1ee63710ee8a7af8ce.tar.bz2 |
Merge 8.6
Diffstat (limited to 'win/tclWin32Dll.c')
-rw-r--r-- | win/tclWin32Dll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWin32Dll.c b/win/tclWin32Dll.c index 0e86611..7c3d8a4 100644 --- a/win/tclWin32Dll.c +++ b/win/tclWin32Dll.c @@ -379,7 +379,7 @@ TclWinDriveLetterForVolMountPoint( if (!alreadyStored) { dlPtr2 = (MountPointMap *)ckalloc(sizeof(MountPointMap)); dlPtr2->volumeName = (WCHAR *)TclNativeDupInternalRep(Target); - dlPtr2->driveLetter = (char) drive[0]; + dlPtr2->driveLetter = (WCHAR) drive[0]; dlPtr2->nextPtr = driveLetterLookup; driveLetterLookup = dlPtr2; } @@ -405,7 +405,7 @@ TclWinDriveLetterForVolMountPoint( dlPtr2 = (MountPointMap *)ckalloc(sizeof(MountPointMap)); dlPtr2->volumeName = (WCHAR *)TclNativeDupInternalRep((void *)mountPoint); - dlPtr2->driveLetter = -1; + dlPtr2->driveLetter = (WCHAR)-1; dlPtr2->nextPtr = driveLetterLookup; driveLetterLookup = dlPtr2; Tcl_MutexUnlock(&mountPointMap); |