Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 20db51d70e6b59a061db97ce9b89c771 > files > 92

net-snmp-5.3.2.2-14.el5.src.rpm

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