Commit 4cff240b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

STL: kill warning about sign comparison

parent 59dc68d5
...@@ -140,7 +140,7 @@ static subpicture_t *Decode(decoder_t *dec, block_t **block) ...@@ -140,7 +140,7 @@ static subpicture_t *Decode(decoder_t *dec, block_t **block)
uint8_t *payload = malloc(payload_size); uint8_t *payload = malloc(payload_size);
if (!payload) if (!payload)
goto exit; goto exit;
for (int i = 0; i < b->i_buffer / 128; i++) for (unsigned i = 0; i < b->i_buffer / 128; i++)
memcpy(&payload[112 * i], &b->p_buffer[128 * i + 16], 112); memcpy(&payload[112 * i], &b->p_buffer[128 * i + 16], 112);
sub = decoder_NewSubpicture(dec, NULL); sub = decoder_NewSubpicture(dec, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment