Browse Source

Fix unittest in i386

Ezequiel Lara Gomez 10 years ago
parent
commit
fb28d73204
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/google/protobuf/wire_format_unittest.cc

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

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