Skip to content

Commit d915513

Browse files
committed
Bug fix
1 parent 9aef445 commit d915513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/TSCBasic/Path.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ private struct UNIXPath: Path {
550550
var result: [WCHAR] = Array<WCHAR>(repeating: 0, count: Int(MAX_PATH + 1))
551551

552552
_ = path.standardizingPathSeparator().withCString(encodedAs: UTF16.self) {
553-
PathCchCanonicalize($0, result.length, $0)
553+
PathCchCanonicalize(result, result.length, $0)
554554
}
555555
self.init(string: String(decodingCString: result, as: UTF16.self))
556556
#else

0 commit comments

Comments
 (0)