From 833d79b53cfa1140d1229e05de0d70a30eca2c5f Mon Sep 17 00:00:00 2001 From: Wu Gao Date: Fri, 16 Oct 2020 10:54:12 +0800 Subject: [PATCH] qcacmn: Fix compilation issue about decimal constant There is compilation error about decimal constant on 32 arch. Fix is to add suffix "UL" and to mark as unsigned. Change-Id: I68b70fbfca4da244fdd9a82b1e28046c0a3b9a3d CRs-Fixed: 2798875 --- qdf/test/qdf_types_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qdf/test/qdf_types_test.c b/qdf/test/qdf_types_test.c index bbf4d5b41c33..e2c1f86f3e42 100644 --- a/qdf/test/qdf_types_test.c +++ b/qdf/test/qdf_types_test.c @@ -283,8 +283,8 @@ static uint32_t qdf_types_ut_uint32_array_parse(void) { uint32_t errors = 0; uint32_t exp_array_value[10] = { 1, 100, 9997, 899965, 65536, 0, - 4294967295, 268435456, - 2164184149, 999999999}; + 4294967295U, 268435456U, + 2164184149U, 999999999U}; errors += ut_uint32_array_pass( "1, 100, 9997, 899965, 65536, 0, 4294967295, 268435456, 2164184149, 999999999",