mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
mpv: use size_t for count, not u32
Small cleanup in processReportsForRange.
This commit is contained in:
parent
3dc8bab78f
commit
9852ac0091
@ -176,7 +176,7 @@ char processReportsForRange(const struct mpv *m, u8 *reporters,
|
|||||||
return MO_CONTINUE_MATCHING;
|
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++) {
|
for (u32 j = 0; j < rl_count; j++) {
|
||||||
if (cb(first_offset + i, rl[j], ctxt) == MO_HALT_MATCHING) {
|
if (cb(first_offset + i, rl[j], ctxt) == MO_HALT_MATCHING) {
|
||||||
DEBUG_PRINTF("bailing\n");
|
DEBUG_PRINTF("bailing\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user