Fix an unsigned int bug
This commit is contained in:
parent
f898521f15
commit
33b45583a2
1 changed files with 2 additions and 1 deletions
|
@ -233,7 +233,8 @@ void adapt(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo, struct buff
|
|||
char url[256];
|
||||
struct evt_core_fdinfo *to_fdinfo = NULL;
|
||||
|
||||
for (uint8_t i = ui->ap_arr_vals-1; i >= 0; i--) {
|
||||
for (int i = ui->ap_arr_vals-1; i >= 0; i--) {
|
||||
fprintf(stderr, "i=%d, ui->ap_arr_vals=%d\n", i, ui->ap_arr_vals);
|
||||
if (ui->ap_arr_meta[i]->fmt.content.udp_metadata_thunder.id <= thunderc->recv_id) continue;
|
||||
thunderc->recv_id = ui->ap_arr_meta[i]->fmt.content.udp_metadata_thunder.id;
|
||||
|
||||
|
|
Loading…
Reference in a new issue