meson.build: add -Wdouble-promotion
This commit is contained in:
parent
6825e1144e
commit
85af4d6916
|
@ -50,6 +50,7 @@ common_cxxflags = [
|
||||||
|
|
||||||
test_common_flags = [
|
test_common_flags = [
|
||||||
'-Wvla',
|
'-Wvla',
|
||||||
|
'-Wdouble-promotion',
|
||||||
|
|
||||||
'-fvisibility=hidden',
|
'-fvisibility=hidden',
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ DumpReplayGainTuple(const char *name, const ReplayGainTuple &tuple)
|
||||||
{
|
{
|
||||||
if (tuple.IsDefined())
|
if (tuple.IsDefined())
|
||||||
fprintf(stderr, "replay_gain[%s]: gain=%f peak=%f\n",
|
fprintf(stderr, "replay_gain[%s]: gain=%f peak=%f\n",
|
||||||
name, tuple.gain, tuple.peak);
|
name, (double)tuple.gain, (double)tuple.peak);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue