New code from lwip project

lwip repo:
79ecf2e SNMP: added missing casts to int for printf arguments