Browse Source

Fix a compile warning.

master
Solomon Peachy 9 years ago
parent
commit
7622dfb502
  1. 2
      redirector.c

2
redirector.c

@ -815,7 +815,7 @@ int main (int argc, char **argv)
sequence_dat_rx = msg_in->seqnum_dat + msg_in->pktlen;
if ((i - sizeof(struct s_msg)) < msg_in->pktlen) {
syslog(LOG_WARNING, "Short read! (%d vs %d bytes) truncating\n", msg_in->pktlen, i - sizeof(struct s_msg));
syslog(LOG_WARNING, "Short read! (%d vs %d bytes) truncating\n", msg_in->pktlen, (int) (i - sizeof(struct s_msg)));
msg_in->pktlen = i - sizeof(struct s_msg);
}

Loading…
Cancel
Save