aboutsummaryrefslogtreecommitdiffstats
path: root/src/outputBuffer.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-29 15:49:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-29 15:49:29 +0200
commit226d52b36fe648215f367d352ad6e5eb38e116be (patch)
treea8dc789a0f3585b07da36f952a69ff554a1bf999 /src/outputBuffer.c
parent0352766dca3da5266e4714124fea119be82c4188 (diff)
downloadmpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.gz
mpd-226d52b36fe648215f367d352ad6e5eb38e116be.tar.xz
mpd-226d52b36fe648215f367d352ad6e5eb38e116be.zip
switch to C99 types, part II
Do full C99 integer type conversion in all modules which were not touched by Eric's merged patch.
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index 0efc5d16a..15ba1aa97 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -153,7 +153,7 @@ ob_chunk * ob_get_chunk(const unsigned i)
* @return the chunk which has room for more data; NULL if there is no
* room.
*/
-static ob_chunk *tail_chunk(float data_time, mpd_uint16 bitRate)
+static ob_chunk *tail_chunk(float data_time, uint16_t bitRate)
{
unsigned int next;
ob_chunk *chunk;
@@ -184,7 +184,7 @@ static ob_chunk *tail_chunk(float data_time, mpd_uint16 bitRate)
}
size_t ob_append(const void *data0, size_t datalen,
- float data_time, mpd_uint16 bitRate)
+ float data_time, uint16_t bitRate)
{
const unsigned char *data = data0;
size_t ret = 0, dataToSend;