Fixed missing brace

This commit is contained in:
Armin Novak 2022-01-31 15:27:41 +01:00 committed by akallabeth
parent e7913b4720
commit 03e454d7d0
1 changed files with 3 additions and 2 deletions

View File

@ -159,7 +159,8 @@
#define IS_ERROR(Status) (((unsigned long)(Status)) >> 31 == SEVERITY_ERROR) #define IS_ERROR(Status) (((unsigned long)(Status)) >> 31 == SEVERITY_ERROR)
#define MAKE_HRESULT(sev, fac, code) \ #define MAKE_HRESULT(sev, fac, code) \
((HRESULT) (((unsigned long) (sev) << 31) | ((unsigned long) (fac) << 16) | ((unsigned long) (code))) ((HRESULT)(((unsigned long)(sev) << 31) | ((unsigned long)(fac) << 16) | \
((unsigned long)(code))))
#define SCODE_CODE(sc) ((sc)&0xFFFF) #define SCODE_CODE(sc) ((sc)&0xFFFF)
#define SCODE_FACILITY(sc) (((sc) >> 16) & 0x1FFF) #define SCODE_FACILITY(sc) (((sc) >> 16) & 0x1FFF)