Fixed compiler warning after merging KISS fixes from master.
@@ -101,7 +101,7 @@ void csp_kiss_rx(csp_iface_t * interface, uint8_t * buf, int len, void * pxTaskW
unsigned char inputbyte = *buf++;
/* If packet was too long */
- if (driver->rx_length > interface->mtu + CSP_HEADER_LENGTH) {
+ if (driver->rx_length > (interface->mtu + (unsigned int) CSP_HEADER_LENGTH)) {
csp_log_warn("KISS RX overflow");
interface->rx_error++;
driver->rx_mode = KISS_MODE_NOT_STARTED;
