Merge pull request #2260 from 741g:master

PiperOrigin-RevId: 249660276
This commit is contained in:
gennadiycivil 2019-05-23 16:20:24 -04:00
commit 7f1c0f6f81

View File

@ -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