From b9a8afcf2ee1a56f4617e253d95a10a4406f537f Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 7 Jul 2020 11:51:37 -0400 Subject: [PATCH] Googletest export Fix mismatch between `int` and `int32_t` in the parse function. On some platforms, those are different types. PiperOrigin-RevId: 319991862 --- googlemock/src/gmock.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googlemock/src/gmock.cc b/googlemock/src/gmock.cc index 32b2a739..7bcdb0ba 100644 --- a/googlemock/src/gmock.cc +++ b/googlemock/src/gmock.cc @@ -124,7 +124,7 @@ static bool ParseGoogleMockStringFlag(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. const char* const value_str = ParseGoogleMockFlagValue(str, flag, true);