summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-01-15 17:17:39 +0000
committerTom Hacohen <tom@stosb.com>2013-01-15 17:17:39 +0000
commitf5af9566d06bf40832974b7927b7ced5d7e2338d (patch)
tree93829578c7e5581ee0b5b9c82702b6496675463a
parent4a0acab86088d6bf6fccd2a3f454a36298a3a4d5 (diff)
Eo tests: fix warnings.
SVN revision: 82828
-rw-r--r--src/tests/eo/suite/eo_test_general.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index 0952613888..f7a61c63be 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -501,7 +501,7 @@ START_TEST(eo_generic_data)
501 501
502 eo_do(obj, eo_base_data_set("test1", (void *) 1, NULL)); 502 eo_do(obj, eo_base_data_set("test1", (void *) 1, NULL));
503 eo_do(obj, eo_base_data_get("test1", &data)); 503 eo_do(obj, eo_base_data_get("test1", &data));
504 fail_if(1 != (int) data); 504 fail_if(1 != (intptr_t) data);
505 eo_do(obj, eo_base_data_del("test1")); 505 eo_do(obj, eo_base_data_del("test1"));
506 eo_do(obj, eo_base_data_get("test1", &data)); 506 eo_do(obj, eo_base_data_get("test1", &data));
507 fail_if(data); 507 fail_if(data);
@@ -509,18 +509,18 @@ START_TEST(eo_generic_data)
509 eo_do(obj, eo_base_data_set("test1", (void *) 1, NULL)); 509 eo_do(obj, eo_base_data_set("test1", (void *) 1, NULL));
510 eo_do(obj, eo_base_data_set("test2", (void *) 2, NULL)); 510 eo_do(obj, eo_base_data_set("test2", (void *) 2, NULL));
511 eo_do(obj, eo_base_data_get("test1", &data)); 511 eo_do(obj, eo_base_data_get("test1", &data));
512 fail_if(1 != (int) data); 512 fail_if(1 != (intptr_t) data);
513 eo_do(obj, eo_base_data_get("test2", &data)); 513 eo_do(obj, eo_base_data_get("test2", &data));
514 fail_if(2 != (int) data); 514 fail_if(2 != (intptr_t) data);
515 515
516 eo_do(obj, eo_base_data_get("test2", &data)); 516 eo_do(obj, eo_base_data_get("test2", &data));
517 fail_if(2 != (int) data); 517 fail_if(2 != (intptr_t) data);
518 eo_do(obj, eo_base_data_del("test2")); 518 eo_do(obj, eo_base_data_del("test2"));
519 eo_do(obj, eo_base_data_get("test2", &data)); 519 eo_do(obj, eo_base_data_get("test2", &data));
520 fail_if(data); 520 fail_if(data);
521 521
522 eo_do(obj, eo_base_data_get("test1", &data)); 522 eo_do(obj, eo_base_data_get("test1", &data));
523 fail_if(1 != (int) data); 523 fail_if(1 != (intptr_t) data);
524 eo_do(obj, eo_base_data_del("test1")); 524 eo_do(obj, eo_base_data_del("test1"));
525 eo_do(obj, eo_base_data_get("test1", &data)); 525 eo_do(obj, eo_base_data_get("test1", &data));
526 fail_if(data); 526 fail_if(data);