From edb4da6eaa97066520072304ceb83a5d480e0b16 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Mon, 6 Mar 2023 23:40:53 -0800 Subject: [PATCH] Internal Code Change PiperOrigin-RevId: 514640775 --- conformance/binary_json_conformance_suite.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/conformance/binary_json_conformance_suite.cc b/conformance/binary_json_conformance_suite.cc index 90991f1904..21b659297d 100644 --- a/conformance/binary_json_conformance_suite.cc +++ b/conformance/binary_json_conformance_suite.cc @@ -1431,12 +1431,12 @@ void BinaryAndJsonConformanceSuite::RunSuiteImpl() { TestIllegalTags(); - int64 kInt64Min = -9223372036854775808ULL; - int64 kInt64Max = 9223372036854775807ULL; - uint64 kUint64Max = 18446744073709551615ULL; - int32 kInt32Max = 2147483647; - int32 kInt32Min = -2147483648; - uint32 kUint32Max = 4294967295UL; + int64_t kInt64Min = -9223372036854775808ULL; + int64_t kInt64Max = 9223372036854775807ULL; + uint64_t kUint64Max = 18446744073709551615ULL; + int32_t kInt32Max = 2147483647; + int32_t kInt32Min = -2147483648; + uint32_t kUint32Max = 4294967295UL; TestValidDataForType( FieldDescriptor::TYPE_DOUBLE, @@ -2318,11 +2318,11 @@ void BinaryAndJsonConformanceSuite::RunJsonTestsForNonRepeatedTypes() { { TestAllTypesProto3 message; message.set_optional_double( - WireFormatLite::DecodeDouble(int64{0x7FFA123456789ABC})); + WireFormatLite::DecodeDouble(int64_t{0x7FFA123456789ABC})); RunValidJsonTestWithProtobufInput("DoubleFieldNormalizeQuietNan", REQUIRED, message, "optional_double: nan"); message.set_optional_double( - WireFormatLite::DecodeDouble(uint64{0xFFFBCBA987654321})); + WireFormatLite::DecodeDouble(uint64_t{0xFFFBCBA987654321})); RunValidJsonTestWithProtobufInput("DoubleFieldNormalizeSignalingNan", REQUIRED, message, "optional_double: nan");