Skip to content

Commit 788bd94

Browse files
Tangent128ePirat
authored andcommitted
BUGFIX: Use a signed type for capturing the return value of client_read_bytes()
Signed-off-by: Marvin Scholz <[email protected]>
1 parent 3a73f9c commit 788bd94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/format_ebml.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,11 @@ static refbuf_t *ebml_get_buffer(source_t *source)
286286
ebml_source_state_t *ebml_source_state = source->format->_state;
287287
format_plugin_t *format = source->format;
288288
unsigned char *write_buffer = NULL;
289-
size_t read_bytes = 0;
289+
ptrdiff_t read_bytes = 0;
290290
size_t write_bytes = 0;
291291
ebml_chunk_type chunk_type;
292292
refbuf_t *refbuf;
293-
size_t ret;
293+
ptrdiff_t ret;
294294

295295
while (1)
296296
{

0 commit comments

Comments
 (0)