Commit 85af4d69 authored by Max Kellermann's avatar Max Kellermann

meson.build: add -Wdouble-promotion

parent 6825e114
...@@ -50,6 +50,7 @@ common_cxxflags = [ ...@@ -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) ...@@ -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
......
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