commit
7f1c0f6f81
|
@ -1691,7 +1691,7 @@ AssertionResult HRESULTFailureHelper(const char* expr,
|
||||||
char error_text[kBufSize] = { '\0' };
|
char error_text[kBufSize] = { '\0' };
|
||||||
DWORD message_length = ::FormatMessageA(kFlags,
|
DWORD message_length = ::FormatMessageA(kFlags,
|
||||||
0, // no source, we're asking system
|
0, // no source, we're asking system
|
||||||
hr, // the error
|
static_cast<DWORD>(hr), // the error
|
||||||
0, // no line width restrictions
|
0, // no line width restrictions
|
||||||
error_text, // output buffer
|
error_text, // output buffer
|
||||||
kBufSize, // buf size
|
kBufSize, // buf size
|
||||||
|
|
Loading…
Reference in New Issue
Block a user