snmp plugin: Use `size_t' for the OID length to be more portable.
authorFlorian Forster <octo@huhu.verplant.org>
Wed, 13 Jun 2007 11:00:17 +0000 (13:00 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 13 Jun 2007 11:00:17 +0000 (13:00 +0200)
src/snmp.c

index 64f41ad..7473341 100644 (file)
@@ -32,7 +32,7 @@
 struct oid_s
 {
   oid oid[MAX_OID_LEN];
-  uint32_t oid_len;
+  size_t oid_len;
 };
 typedef struct oid_s oid_t;