Ezequiel Lara Gomez 10 жил өмнө
parent
commit
fb28d73204

+ 1 - 1
src/google/protobuf/wire_format_unittest.cc

@@ -767,7 +767,7 @@ TEST(WireFormatTest, RepeatedScalarsDifferentTagSizes) {
 }
 
 TEST(WireFormatTest, CompatibleTypes) {
-  const int64 data = 0x100000000;
+  const int64 data = 0x100000000LL;
   unittest::Int64Message msg1;
   msg1.set_data(data);
   string serialized;