summaryrefslogtreecommitdiff
path: root/legacy/eobj
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-07-15 07:56:02 +0000
committerTom Hacohen <tom@stosb.com>2012-07-15 07:56:02 +0000
commit14dcf973c599e7fe45b01c3ea7d3ac4468263f49 (patch)
tree45115447b38b6fb654c26bc89272e721c085771b /legacy/eobj
parent1790fc0bd61db2f6082841548ed03c76a28e1ae7 (diff)
Eo: Fixed test case.
SVN revision: 73867
Diffstat (limited to 'legacy/eobj')
-rw-r--r--legacy/eobj/src/lib/eo.c2
-rw-r--r--legacy/eobj/src/tests/eo_suite/eo_test_class_errors.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/legacy/eobj/src/lib/eo.c b/legacy/eobj/src/lib/eo.c
index 3a5a9a60e9..5d323b1432 100644
--- a/legacy/eobj/src/lib/eo.c
+++ b/legacy/eobj/src/lib/eo.c
@@ -124,7 +124,7 @@ _dich_chain_alloc(Dich_Chain1 *chain1)
124static inline void 124static inline void
125_dich_copy_all(Eo_Class *dst, const Eo_Class *src) 125_dich_copy_all(Eo_Class *dst, const Eo_Class *src)
126{ 126{
127 Eo_Class_Id i; 127 Eo_Op i;
128 const Dich_Chain1 *sc1 = src->chain; 128 const Dich_Chain1 *sc1 = src->chain;
129 Dich_Chain1 *dc1 = dst->chain; 129 Dich_Chain1 *dc1 = dst->chain;
130 for (i = 0 ; i <= DICH_CHAIN1(src->base_id) ; i++, sc1++, dc1++) 130 for (i = 0 ; i <= DICH_CHAIN1(src->base_id) ; i++, sc1++, dc1++)
diff --git a/legacy/eobj/src/tests/eo_suite/eo_test_class_errors.c b/legacy/eobj/src/tests/eo_suite/eo_test_class_errors.c
index 5b0a705010..983ff2cfc6 100644
--- a/legacy/eobj/src/tests/eo_suite/eo_test_class_errors.c
+++ b/legacy/eobj/src/tests/eo_suite/eo_test_class_errors.c
@@ -254,13 +254,13 @@ START_TEST(eo_bad_interface)
254 class_desc.class_constructor = _stub_class_constructor; 254 class_desc.class_constructor = _stub_class_constructor;
255 255
256 klass = eo_class_new(&class_desc, 0, NULL, NULL); 256 klass = eo_class_new(&class_desc, 0, NULL, NULL);
257 fail_if(klass); 257 fail_if(!klass);
258 258
259 class_desc.class_constructor = NULL; 259 class_desc.class_constructor = NULL;
260 class_desc.class_destructor = _stub_class_constructor; 260 class_desc.class_destructor = _stub_class_constructor;
261 261
262 klass = eo_class_new(&class_desc, 0, NULL, NULL); 262 klass = eo_class_new(&class_desc, 0, NULL, NULL);
263 fail_if(klass); 263 fail_if(!klass);
264 264
265 class_desc.class_destructor = NULL; 265 class_desc.class_destructor = NULL;
266 266