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