fix a typecast
git-svn-id: https://svn.musicpd.org/mpd/trunk@126 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
f515692aa9
commit
e742f2be2c
|
@ -86,9 +86,9 @@ void initPlayerData() {
|
|||
buffer = &(playerData_pd->buffer);
|
||||
|
||||
buffer->chunks = ((char *)playerData_pd)+sizeof(PlayerData);
|
||||
buffer->chunkSize = (mpd_sint16 *)(((char *)buffer->chunks)+
|
||||
buffer->chunkSize = (mpd_uint16 *)(((char *)buffer->chunks)+
|
||||
buffered_chunks*CHUNK_SIZE);
|
||||
buffer->bitRate = (mpd_sint16 *)(((char *)buffer->chunkSize)+
|
||||
buffer->bitRate = (mpd_uint16 *)(((char *)buffer->chunkSize)+
|
||||
buffered_chunks*sizeof(mpd_sint16));
|
||||
buffer->times = (float *)(((char *)buffer->bitRate)+
|
||||
buffered_chunks*sizeof(mpd_sint16));
|
||||
|
|
Loading…
Reference in New Issue