aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_jack.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-01-14 04:25:22 +0000
committerEric Wong <normalperson@yhbt.net>2007-01-14 04:25:22 +0000
commitd41de57bfede8c21e8f5f34ea63ecf3839754fad (patch)
treec13f5c8961132cbaa564144aec5b5679ab2d3b32 /src/audioOutputs/audioOutput_jack.c
parent8d11eaff55cd9bf373f9cf171ccb371bb604dd5a (diff)
downloadmpd-d41de57bfede8c21e8f5f34ea63ecf3839754fad.tar.gz
mpd-d41de57bfede8c21e8f5f34ea63ecf3839754fad.tar.xz
mpd-d41de57bfede8c21e8f5f34ea63ecf3839754fad.zip
jack: fix type warning in error message
just casting to int because it's the simplest (%z is not well-supported) Noticed-by: avuton on a 64-bit machine git-svn-id: https://svn.musicpd.org/mpd/trunk@5257 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/audioOutputs/audioOutput_jack.c')
-rw-r--r--src/audioOutputs/audioOutput_jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audioOutputs/audioOutput_jack.c b/src/audioOutputs/audioOutput_jack.c
index 9c59c5994..8e7496499 100644
--- a/src/audioOutputs/audioOutput_jack.c
+++ b/src/audioOutputs/audioOutput_jack.c
@@ -203,8 +203,8 @@ static int jack_initDriver(AudioOutput *audioOutput, ConfigParam *param)
if (strchr(cp,','))
FATAL("Only %d values are supported for '%s' "
- "at line %d\n",
- ARRAY_SIZE(output_ports), bp->name, bp->line);
+ "at line %d\n", (int)ARRAY_SIZE(output_ports),
+ bp->name, bp->line);
}
if ( (bp = getBlockParam(param, "ringbuffer_size")) ) {