diff options
author | Max Kellermann <max@musicpd.org> | 2018-10-23 20:10:57 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-10-23 20:10:57 +0200 |
commit | c2a2573aa5ed2d5e875c6b5f0cf84e7e940bbfa4 (patch) | |
tree | 57198837fcf65f57c65615738baa2d7c218539e1 /src/decoder | |
parent | 66ab2de5785755594b300b933083a0e5892d05fc (diff) | |
parent | 9274bc15bc41bbe490fde847f8422468cc20375d (diff) |
Merge tag 'v0.20.22'
release v0.20.22
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/plugins/FluidsynthDecoderPlugin.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/decoder/plugins/FluidsynthDecoderPlugin.cxx b/src/decoder/plugins/FluidsynthDecoderPlugin.cxx index 0f106d5a4..69832bdeb 100644 --- a/src/decoder/plugins/FluidsynthDecoderPlugin.cxx +++ b/src/decoder/plugins/FluidsynthDecoderPlugin.cxx @@ -64,7 +64,12 @@ fluidsynth_level_to_mpd(enum fluid_log_level level) * logging library. */ static void -fluidsynth_mpd_log_function(int level, char *message, gcc_unused void *data) +fluidsynth_mpd_log_function(int level, +#if FLUIDSYNTH_VERSION_MAJOR >= 2 + const +#endif + char *message, + void *) { Log(fluidsynth_domain, fluidsynth_level_to_mpd(fluid_log_level(level)), |