Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > media > main-release-src > by-pkgid > 1dd367060ea0c1b1c482e63d2895e2cf > files > 15

net-snmp-5.3.1-2mdv2007.0.src.rpm

--- net-snmp-5.3/include/net-snmp/types.h.old	2005-11-07 04:34:48.000000000 +0100
+++ net-snmp-5.3/include/net-snmp/types.h	2006-02-02 08:30:56.000000000 +0100
@@ -144,7 +144,7 @@
  */
 
     typedef struct netsnmp_index_s {
-       int          len;
+       size_t      len;
        oid         *oids;
     } netsnmp_index;
 
--- net-snmp-5.3/agent/agent_registry.c.old	2006-02-02 08:20:02.000000000 +0100
+++ net-snmp-5.3/agent/agent_registry.c	2006-02-02 08:29:56.000000000 +0100
@@ -1451,7 +1451,7 @@
     lookup_cache *lookup_cache = NULL;
     netsnmp_subtree *myptr = NULL, *previous = NULL;
     int cmp = 1;
-    int ll_off = 0;
+    size_t ll_off = 0;
 
     if (subtree) {
         myptr = subtree;