浏览代码

Fixes 32bit tests.

Sergio Campama 8 年之前
父节点
当前提交
02129f0a87
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      objectivec/Tests/GPBCodedInputStreamTests.m

+ 1 - 1
objectivec/Tests/GPBCodedInputStreamTests.m

@@ -261,7 +261,7 @@
     GPBCodedInputStream* input32 = [GPBCodedInputStream streamWithData:data];
     XCTAssertEqual(value32, [input32 readInt32]);
 
-    int64_t value64 = INT64_MIN | (0x01L << 31);
+    int64_t value64 = INT64_MIN | (0x01LL << 31);
     GPBCodedInputStream* input64 = [GPBCodedInputStream streamWithData:data];
     XCTAssertEqual(value64, [input64 readInt64]);
   }