Loading lib/tftp.c +1 −1 Original line number Diff line number Diff line Loading @@ -420,7 +420,7 @@ static CURLcode tftp_rx(tftp_state_data_t *state, tftp_event_t event) } /* Check if completed (That is, a less than full packet is received) */ if(state->rbytes < sizeof(state->spacket)){ if(state->rbytes < (ssize_t)sizeof(state->spacket)){ state->state = TFTP_STATE_FIN; } else { Loading Loading
lib/tftp.c +1 −1 Original line number Diff line number Diff line Loading @@ -420,7 +420,7 @@ static CURLcode tftp_rx(tftp_state_data_t *state, tftp_event_t event) } /* Check if completed (That is, a less than full packet is received) */ if(state->rbytes < sizeof(state->spacket)){ if(state->rbytes < (ssize_t)sizeof(state->spacket)){ state->state = TFTP_STATE_FIN; } else { Loading