pkgsrc/net/net-snmp/patches/patch-en
2006-10-01 20:08:29 +00:00

13 lines
425 B
Text

$NetBSD: patch-en,v 1.1 2006/10/01 20:08:29 seb Exp $
--- snmplib/container_binary_array.c.orig 2005-12-11 19:13:15.000000000 +0000
+++ snmplib/container_binary_array.c
@@ -405,7 +405,7 @@ netsnmp_binary_array_insert(netsnmp_cont
/*
* Insert the new entry into the data array
*/
- t->data[t->count++] = entry;
+ t->data[t->count++] = (void *)(unsigned long)entry;
t->dirty = 1;
return 0;
}