From bdd33f2b51562913a4c73d12213d521480613abf Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 23 Mar 2009 16:44:11 +0100 Subject: fix up sbc.h prototypes to use const/size_t wherever applicable --- audio/pcm_bluetooth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index 9c4f9c46..f3700a8e 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -970,7 +970,8 @@ static snd_pcm_sframes_t bluetooth_a2dp_write(snd_pcm_ioplug_t *io, struct bluetooth_a2dp *a2dp = &data->a2dp; snd_pcm_sframes_t ret = 0; unsigned int bytes_left; - int frame_size, encoded, written; + int frame_size, encoded; + size_t written; uint8_t *buff; DBG("areas->step=%u areas->first=%u offset=%lu size=%lu", -- cgit