Merge pull request #3892 from sergiocampama/32bit

Fixes 32bit tests.
pull/3797/merge
Thomas Van Lenten 7 years ago committed by GitHub
commit 696653d246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      objectivec/Tests/GPBCodedInputStreamTests.m

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

Loading…
Cancel
Save