From a044fadec8f34abf3bd11a4037407e9a501fe63d Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sun, 14 Mar 2021 11:00:05 +0100 Subject: [PATCH] Fix minor warning in some compiler options --- tests/test-malgo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-malgo.c b/tests/test-malgo.c index bbe98d75..63e05295 100644 --- a/tests/test-malgo.c +++ b/tests/test-malgo.c @@ -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)