Skip to content

Commit 53afbde

Browse files
authored
Merge pull request #275 from AZero13/patch-1
2 parents 2e372aa + 0ed3416 commit 53afbde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/System/FilePath/FilePathWindows.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ fileprivate func HRESULT_CODE(_ hr: HRESULT) -> DWORD {
517517

518518
@inline(__always)
519519
fileprivate func HRESULT_FACILITY(_ hr: HRESULT) -> DWORD {
520-
DWORD(hr << 16) & 0x1fff
520+
DWORD(hr >> 16) & 0x1fff
521521
}
522522

523523
@inline(__always)

0 commit comments

Comments
 (0)