mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-06 09:56:38 +00:00
SNMP: added missing casts to int for printf arguments
This commit is contained in:
parent
c2ebf5544b
commit
79ecf2edb7
@ -1090,7 +1090,7 @@ snmp_pdu_header_check(struct pbuf *p, u16_t ofs, u16_t pdu_len, u16_t *ofs_ret,
|
|||||||
snmp_inc_snmpingenerrs();
|
snmp_inc_snmpingenerrs();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_pdu_header_check(): unknown error_status: %d\n", m_stat->error_status));
|
LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_pdu_header_check(): unknown error_status: %d\n", (int)m_stat->error_status));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ofs += (1 + len_octets + len);
|
ofs += (1 + len_octets + len);
|
||||||
|
@ -165,7 +165,7 @@ snmp_send_response(struct snmp_msg_pstat *m_stat)
|
|||||||
snmp_inc_snmpoutgenerrs();
|
snmp_inc_snmpoutgenerrs();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_send_response(): unknown error_status: %d\n", m_stat->error_status));
|
LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_send_response(): unknown error_status: %d\n", (int)m_stat->error_status));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
snmp_inc_snmpoutgetresponses();
|
snmp_inc_snmpoutgetresponses();
|
||||||
|
Loading…
Reference in New Issue
Block a user