浏览代码

Fix unittest in i386

Ezequiel Lara Gomez 10 年之前
父节点
当前提交
fb28d73204
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {
-  const int64 data = 0x100000000;
+  const int64 data = 0x100000000LL;
   unittest::Int64Message msg1;
   msg1.set_data(data);
   string serialized;