forked from enlightenment/efl
eina - value - test - cats warnings on 32bit to get some silence
longs will be truncated on 32bit in these tests so be explicit to not have warinings. note - eina value tests are broken on 32bit anyway already - the conversions to/from long types are broken and fail. this doesn't fix that.
This commit is contained in:
parent
a9132a9a66
commit
a8d1c7d8ad
|
@ -100,7 +100,7 @@ EFL_START_TEST(eina_value_test_simple)
|
|||
fail_unless(eina_value_int64_get(value, &i64));
|
||||
fail_if(eina_value_long_get(value, &l));
|
||||
fail_unless(eina_value_long_convert(value, &l));
|
||||
fail_unless(l == 0x0011223344556677);
|
||||
fail_unless(l == (long)0x0011223344556677);
|
||||
fail_unless(i64 == 0x0011223344556677);
|
||||
eina_value_flush(value);
|
||||
|
||||
|
@ -157,7 +157,7 @@ EFL_START_TEST(eina_value_test_simple)
|
|||
fail_unless(eina_value_uint64_get(value, &u64));
|
||||
fail_if(eina_value_ulong_get(value, &ul));
|
||||
fail_unless(eina_value_ulong_convert(value, &ul));
|
||||
fail_unless(ul == 0x1122334455667788);
|
||||
fail_unless(ul == (unsigned long)0x1122334455667788);
|
||||
fail_unless(u64 == 0x1122334455667788);
|
||||
eina_value_flush(value);
|
||||
|
||||
|
|
Loading…
Reference in New Issue