Skip to content

Commit

Permalink
Merge pull request #2260 from 741g:master
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 249660276
  • Loading branch information
gennadiycivil committed May 23, 2019
2 parents 88f0493 + 2f58f41 commit 7f1c0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion googletest/src/gtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7f1c0f6

Please sign in to comment.