mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Use uint16_t instead of int16_t to fix a compiler warning.
This commit is contained in:
parent
e26b40a75f
commit
12a4fbb425
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue