diff options
| author | Torsten Jager <t.jager@gmx.de> | 2014-03-08 15:11:20 +0100 |
|---|---|---|
| committer | Torsten Jager <t.jager@gmx.de> | 2014-03-08 15:11:20 +0100 |
| commit | 51f379ba834dbc5bca0007ef4f3793a7d650ae78 (patch) | |
| tree | eefd43701262de0796829e620a06edd3d99a74fe /src/audio_out | |
| parent | 382cfb6b3428cbf948acc98b32efdab497c57001 (diff) | |
| download | xine-lib-51f379ba834dbc5bca0007ef4f3793a7d650ae78.tar.gz xine-lib-51f379ba834dbc5bca0007ef4f3793a7d650ae78.tar.bz2 | |
Silence some compiler warnings.
Diffstat (limited to 'src/audio_out')
| -rw-r--r-- | src/audio_out/audio_alsa_out.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index 11130a84b..f35c51cb1 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -265,9 +265,10 @@ static long ao_alsa_get_volume_from_percent(int val, long min, long max) { /* * Error callback, we need to control this, * error message should be printed only in DEBUG mode. + * XINE_FORMAT_PRINTF(5, 6) is true but useless here, + * as alsa delivers "fmt" at runtime only. */ -static void XINE_FORMAT_PRINTF(5, 6) - error_callback(const char *file, int line, +static void error_callback(const char *file, int line, const char *function, int err, const char *fmt, ...) { #ifdef DEBUG va_list args; |
