Merge pull request #285 from glessard/fix-HRESULT_FACILITY-1.6.0

[Windows] Fix HRESULT_FACILITY
This commit is contained in:
Guillaume Lessard authored and GitHub committed 2026-01-13 13:33:25 -08:00
commit 8f8d80a4fe
1 file changed
+1 -1
@@ -517,7 +517,7 @@ fileprivate func HRESULT_CODE(_ hr: HRESULT) -> DWORD {
@inline(__always)
fileprivate func HRESULT_FACILITY(_ hr: HRESULT) -> DWORD {
DWORD(hr << 16) & 0x1fff
DWORD(hr >> 16) & 0x1fff
}
@inline(__always)