test/test_pcm_format: work around -Wdouble-promotion
This commit is contained in:
parent
0f02bbc2fe
commit
c1429500b2
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue