summaryrefslogtreecommitdiff
path: root/src/tests/eina/eina_test_value.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-05-13 14:12:28 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-05-13 14:27:00 +0100
commita8d1c7d8ad5b54425147a6f678c917b966ada8f0 (patch)
treed30ab4df3f4906323e461833fbb3e6a04484b0f4 /src/tests/eina/eina_test_value.c
parenta9132a9a66955608e913bb1228e4adb371310b09 (diff)
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.
Diffstat (limited to 'src/tests/eina/eina_test_value.c')
-rw-r--r--src/tests/eina/eina_test_value.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/eina/eina_test_value.c b/src/tests/eina/eina_test_value.c
index a9e6e47de2..fc137df621 100644
--- a/src/tests/eina/eina_test_value.c
+++ b/src/tests/eina/eina_test_value.c
@@ -100,7 +100,7 @@ EFL_START_TEST(eina_value_test_simple)
100 fail_unless(eina_value_int64_get(value, &i64)); 100 fail_unless(eina_value_int64_get(value, &i64));
101 fail_if(eina_value_long_get(value, &l)); 101 fail_if(eina_value_long_get(value, &l));
102 fail_unless(eina_value_long_convert(value, &l)); 102 fail_unless(eina_value_long_convert(value, &l));
103 fail_unless(l == 0x0011223344556677); 103 fail_unless(l == (long)0x0011223344556677);
104 fail_unless(i64 == 0x0011223344556677); 104 fail_unless(i64 == 0x0011223344556677);
105 eina_value_flush(value); 105 eina_value_flush(value);
106 106
@@ -157,7 +157,7 @@ EFL_START_TEST(eina_value_test_simple)
157 fail_unless(eina_value_uint64_get(value, &u64)); 157 fail_unless(eina_value_uint64_get(value, &u64));
158 fail_if(eina_value_ulong_get(value, &ul)); 158 fail_if(eina_value_ulong_get(value, &ul));
159 fail_unless(eina_value_ulong_convert(value, &ul)); 159 fail_unless(eina_value_ulong_convert(value, &ul));
160 fail_unless(ul == 0x1122334455667788); 160 fail_unless(ul == (unsigned long)0x1122334455667788);
161 fail_unless(u64 == 0x1122334455667788); 161 fail_unless(u64 == 0x1122334455667788);
162 eina_value_flush(value); 162 eina_value_flush(value);
163 163