Code

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 64f41ada9889a182e0ed89791bacaa3bede20cbc..7473341f67c5aceb061c775271c403f42e9453e4 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;