This trips up the CI on Ubuntu 16.04. (I guess the code wasn't getting
built there before...)
Signed-off-by: David Lamparter <equinox@diac24.net>
return -1;
}
mlag_rd_buf_offset += data_len;
- if (data_len != (ssize_t)ZEBRA_MLAG_LEN_SIZE - curr_len) {
+ if (data_len != (ssize_t)(ZEBRA_MLAG_LEN_SIZE - curr_len)) {
/* Try again later */
zebra_mlag_sched_read();
return 0;
return -1;
}
mlag_rd_buf_offset += data_len;
- if (data_len != (ssize_t)tot_len - curr_len) {
+ if (data_len != (ssize_t)(tot_len - curr_len)) {
/* Try again later */
zebra_mlag_sched_read();
return 0;