am bdb8b21d: Merge "AArch64: Fix memcmp16() test"

* commit 'bdb8b21d0547dd74c62af3ddc9b8e7670adcbe9f':
  AArch64: Fix memcmp16() test
This commit is contained in:
Elliott Hughes 2014-06-10 18:31:16 +00:00 committed by Android Git Automerger
commit 95f6cfc971

View File

@ -812,7 +812,7 @@ TEST(string, __memcmp16) {
int expected = (static_cast<unsigned short>(c1) - static_cast<unsigned short>(c2)); int expected = (static_cast<unsigned short>(c1) - static_cast<unsigned short>(c2));
int actual = __memcmp16(state.ptr1, state.ptr2, (size_t) state.MAX_LEN); int actual = __memcmp16(state.ptr1, state.ptr2, (size_t) state.MAX_LEN);
ASSERT_EQ(expected, actual); ASSERT_EQ(signum(expected), signum(actual));
} }
} }
#else // __BIONIC__ #else // __BIONIC__