diff options
| author | hathach <[email protected]> | 2013-05-09 17:52:18 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-05-09 17:52:18 +0700 |
| commit | 7355a45a6768bd6f1864bb3800904ddda47c5c4e (patch) | |
| tree | 1ba7aaf6e037794b9b37b86978fac10243e7dbdf | |
| parent | dc4bb9d1044965e51f6698835304b4aa0374502c (diff) | |
finally get travis build without errors
| -rw-r--r-- | tests/test/host/ehci/test_ehci_structure.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test/host/ehci/test_ehci_structure.c b/tests/test/host/ehci/test_ehci_structure.c index fdaa660d1..deb3d3806 100644 --- a/tests/test/host/ehci/test_ehci_structure.c +++ b/tests/test/host/ehci/test_ehci_structure.c @@ -100,7 +100,7 @@ void test_struct_size(void) { if (4 < sizeof(void*)) // running tests in x64 environment { - TEST_ASSERT_EQUAL( 64 - 2*sizeof(void*), offsetof(ehci_qhd_t, p_qtd_list_head) ); + TEST_ASSERT_EQUAL( 64 - 8, offsetof(ehci_qhd_t, p_qtd_list_head) ); // 64 - 2x 32-bit pointer qtds }else { TEST_ASSERT_EQUAL( 64, sizeof(ehci_qhd_t) ); |
