aboutsummaryrefslogtreecommitdiff
path: root/audio/pcm_bluetooth.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-23 16:44:11 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-04-17 01:45:19 +0200
commitc43f8bdcc1d527e2d77481a66217771038be3acd (patch)
treec3f684c6e594b86a68071ea00194d6c1a8724a02 /audio/pcm_bluetooth.c
parent999d9b9ac1f8e7d25f620661b99ae6068560c3f1 (diff)
downloadbluez-c43f8bdcc1d527e2d77481a66217771038be3acd.tar.gz
fix up sbc.h prototypes to use const/size_t wherever applicable
Diffstat (limited to 'audio/pcm_bluetooth.c')
-rw-r--r--audio/pcm_bluetooth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c
index 1332862c..f973e212 100644
--- a/audio/pcm_bluetooth.c
+++ b/audio/pcm_bluetooth.c
@@ -1007,7 +1007,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",