528164: Spurious "truncating unsigned value" errors Source: upstream, SVN rev. 16762 --- net-snmp/snmplib/asn1.c (revision 16761) +++ net-snmp/snmplib/asn1.c (revision 16762) @@ -220,13 +220,13 @@ x = 0 - (x & 0xffffffff); \ } \ if (trunc) \ - snmp_log(LOG_ERR,"truncating signed value to 32 bits (%d)\n",y); \ + DEBUGMSG(("asn","truncating signed value to 32 bits (%d)\n",y)); \ } while(0) # define CHECK_OVERFLOW_U(x,y) do { \ if (x > UINT32_MAX) { \ x &= 0xffffffff; \ - snmp_log(LOG_ERR,"truncating unsigned value to 32 bits (%d)\n",y); \ + DEBUGMSG(("asn","truncating unsigned value to 32 bits (%d)\n",y)); \ } \ } while(0) #endif