mpv: use size_t for count, not u32

Small cleanup in processReportsForRange.
This commit is contained in:
Justin Viiret 2016-04-06 14:44:22 +10:00 committed by Matthew Barr
parent 3dc8bab78f
commit 9852ac0091

View File

@ -176,7 +176,7 @@ char processReportsForRange(const struct mpv *m, u8 *reporters,
return MO_CONTINUE_MATCHING;
}
for (u32 i = 2; i <= length; i++) {
for (size_t i = 2; i <= length; i++) {
for (u32 j = 0; j < rl_count; j++) {
if (cb(first_offset + i, rl[j], ctxt) == MO_HALT_MATCHING) {
DEBUG_PRINTF("bailing\n");