Commit 7f1c0f6f by gennadiycivil

Merge pull request #2260 from 741g:master

PiperOrigin-RevId: 249660276
parents 88f04930 2f58f41d
......@@ -1691,7 +1691,7 @@ AssertionResult HRESULTFailureHelper(const char* expr,
char error_text[kBufSize] = { '\0' };
DWORD message_length = ::FormatMessageA(kFlags,
0, // no source, we're asking system
hr, // the error
static_cast<DWORD>(hr), // the error
0, // no line width restrictions
error_text, // output buffer
kBufSize, // buf size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment