mirror of https://github.com/FreeRDP/FreeRDP
Fixed missing brace
This commit is contained in:
parent
e7913b4720
commit
03e454d7d0
|
@ -158,8 +158,9 @@
|
||||||
#define FAILED(hr) (((HRESULT)(hr)) < 0)
|
#define FAILED(hr) (((HRESULT)(hr)) < 0)
|
||||||
#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)
|
||||||
|
|
Loading…
Reference in New Issue