Fix minor warning in some compiler options

This commit is contained in:
Patrick Pelissier committed 2021-03-14 11:00:05 +01:00
1 parent 0edb6165b5
commit a044fadec8
1 file changed
+1 -1
+1 -1
View File
@@ -544,7 +544,7 @@ static void test_extract(void)
ALGO_REDUCE(dst, a, ARRAY_OPLIST(array_int), or);
assert (dst == 127);
unsigned long long dst_l;
unsigned long long dst_l = 0;
// To avoid warnings about sign conversion between int and unsigned long long
#define my_set(a, b) do { (a) = (unsigned int) (b); } while (0)
#define my_sum(a, b) do { (a) += (unsigned int) (b); } while (0)