From 12a4fbb42523eff760a9555356fdb8efa103a4c5 Mon Sep 17 00:00:00 2001 From: Gleb Popov <6yearold@gmail.com> Date: Fri, 22 Oct 2021 19:05:18 +0300 Subject: [PATCH] Use uint16_t instead of int16_t to fix a compiler warning. --- spa/plugins/audioconvert/test-fmt-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/audioconvert/test-fmt-ops.c b/spa/plugins/audioconvert/test-fmt-ops.c index 46a51ff65..2dace7093 100644 --- a/spa/plugins/audioconvert/test-fmt-ops.c +++ b/spa/plugins/audioconvert/test-fmt-ops.c @@ -165,7 +165,7 @@ static void test_f32_u16(void) static void test_u16_f32(void) { - static const int16_t in[] = { 32767, 65535, 0, 49150, 16383, }; + static const uint16_t in[] = { 32767, 65535, 0, 49150, 16383, }; static const float out[] = { 0.0f, 1.0f, -1.0f, 0.4999847412f, -0.4999847412f }; run_test("test_u16_f32d", in, sizeof(in[0]), out, sizeof(out[0]), SPA_N_ELEMENTS(out),