Browse Source

Merge pull request #305 from ezegomez/master

Fix unittest in i386
Feng Xiao 10 years ago
parent
commit
69433f3810
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

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