1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-22 04:15:54 -04:00

BUGFIX: Use a signed type for capturing the return value of client_read_bytes()

Signed-off-by: Marvin Scholz <epirat07@gmail.com>
This commit is contained in:
Joseph Wallace 2016-02-13 14:35:53 -05:00 committed by Marvin Scholz
parent 3a73f9c146
commit 788bd94eeb

View File

@ -286,11 +286,11 @@ static refbuf_t *ebml_get_buffer(source_t *source)
ebml_source_state_t *ebml_source_state = source->format->_state;
format_plugin_t *format = source->format;
unsigned char *write_buffer = NULL;
size_t read_bytes = 0;
ptrdiff_t read_bytes = 0;
size_t write_bytes = 0;
ebml_chunk_type chunk_type;
refbuf_t *refbuf;
size_t ret;
ptrdiff_t ret;
while (1)
{