mirror of
https://github.com/google/googletest.git
synced 2024-12-28 02:53:16 +08:00
Googletest export
Fix mismatch between `int` and `int32_t` in the parse function. On some platforms, those are different types. PiperOrigin-RevId: 319991862
This commit is contained in:
parent
356f2d264a
commit
b9a8afcf2e
@ -124,7 +124,7 @@ static bool ParseGoogleMockStringFlag(const char* str, const char* flag,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static bool ParseGoogleMockIntFlag(const char* str, const char* flag,
|
static bool ParseGoogleMockIntFlag(const char* str, const char* flag,
|
||||||
int* value) {
|
int32_t* value) {
|
||||||
// Gets the value of the flag as a string.
|
// Gets the value of the flag as a string.
|
||||||
const char* const value_str = ParseGoogleMockFlagValue(str, flag, true);
|
const char* const value_str = ParseGoogleMockFlagValue(str, flag, true);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user