Commit c1429500 authored by Max Kellermann's avatar Max Kellermann

test/test_pcm_format: work around -Wdouble-promotion

parent 0f02bbc2
...@@ -79,8 +79,8 @@ TEST(PcmTest, FormatFloat16) ...@@ -79,8 +79,8 @@ TEST(PcmTest, FormatFloat16)
EXPECT_EQ(N, f.size); EXPECT_EQ(N, f.size);
for (size_t i = 0; i != f.size; ++i) { for (size_t i = 0; i != f.size; ++i) {
EXPECT_GE(f[i], -1.); EXPECT_GE(f[i], -1.f);
EXPECT_LE(f[i], 1.); EXPECT_LE(f[i], 1.f);
} }
PcmDither dither; PcmDither dither;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment