diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-03-09 09:26:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-03-09 09:26:37 +0100 |
commit | 50bf3061e6645125ef4355f214dd35656012048b (patch) | |
tree | b16485a74878cc484e1bbc3bf69d0fdbcceb29eb /cppu | |
parent | 553610565ad0395155ae394a9682b28a10205bb4 (diff) |
typo
Change-Id: Id990e76769c3b5e2e048f3faf754efbae2b41c3f
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/check.cxx | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/cppu/source/uno/check.cxx b/cppu/source/uno/check.cxx index 7b1a6dc2329a..7fb8b36f79b4 100644 --- a/cppu/source/uno/check.cxx +++ b/cppu/source/uno/check.cxx @@ -242,35 +242,35 @@ public: }; BinaryCompatible_Impl::BinaryCompatible_Impl() { - assert(OFFSET_OF(N, p) != 8); + assert(OFFSET_OF(N, p) == 8); - assert(OFFSET_OF(C2, n2) != 4); + assert(OFFSET_OF(C2, n2) == 4); #ifdef MAX_ALIGNMENT_4 - assert(OFFSET_OF(C3, d3) != 8); - assert(OFFSET_OF(C3, n3) != 16); - assert(OFFSET_OF(C4, n4) != 20); - assert(OFFSET_OF(C4, d4) != 24); - assert(OFFSET_OF(C5, n5) != 32); - assert(OFFSET_OF(C5, b5) != 40); - assert(OFFSET_OF(C6, c6) != 4); - assert(OFFSET_OF(C6, b6) != 48); - - assert(OFFSET_OF(O2, p2) != 20); + assert(OFFSET_OF(C3, d3) == 8); + assert(OFFSET_OF(C3, n3) == 16); + assert(OFFSET_OF(C4, n4) == 20); + assert(OFFSET_OF(C4, d4) == 24); + assert(OFFSET_OF(C5, n5) == 32); + assert(OFFSET_OF(C5, b5) == 40); + assert(OFFSET_OF(C6, c6) == 4); + assert(OFFSET_OF(C6, b6) == 48); + + assert(OFFSET_OF(O2, p2) == 20); #else - assert(OFFSET_OF(C3, d3) != 8); - assert(OFFSET_OF(C3, n3) != 16); - assert(OFFSET_OF(C4, n4) != 24); - assert(OFFSET_OF(C4, d4) != 32); - assert(OFFSET_OF(C5, n5) != 40); - assert(OFFSET_OF(C5, b5) != 48); - assert(OFFSET_OF(C6, c6) != 8); - assert(OFFSET_OF(C6, b6) != 64); - - assert(OFFSET_OF(O2, p2) != 24); + assert(OFFSET_OF(C3, d3) == 8); + assert(OFFSET_OF(C3, n3) == 16); + assert(OFFSET_OF(C4, n4) == 24); + assert(OFFSET_OF(C4, d4) == 32); + assert(OFFSET_OF(C5, n5) == 40); + assert(OFFSET_OF(C5, b5) == 48); + assert(OFFSET_OF(C6, c6) == 8); + assert(OFFSET_OF(C6, b6) == 64); + + assert(OFFSET_OF(O2, p2) == 24); #endif - assert(OFFSET_OF(Char4, c) != 3); + assert(OFFSET_OF(Char4, c) == 3); } static BinaryCompatible_Impl aTest; |