[snmp] Fix asn_build calls to pass correct variable sizes (fixes 64-bit issues)
2006-09-26 Pierre-Yves Ritschard <pierre-yves@spootnik.org>
* smux.c: (smux_open,smux_trap,smux_register) Fix various
asn_build_* calls to pass the proper length in the final
argument: use sizeof(<variable>) instead of sizeof(<type>),
since there were several inconsistencies between the actual
variable type and the size that was passed. This should
fix some problems on 64-bit architectures where sizeof(int)
!= sizeof(long).
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 01f45ba..00ba44e 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,13 @@
+2006-09-26 Pierre-Yves Ritschard <pierre-yves@spootnik.org>
+
+ * smux.c: (smux_open,smux_trap,smux_register) Fix various
+ asn_build_* calls to pass the proper length in the final
+ argument: use sizeof(<variable>) instead of sizeof(<type>),
+ since there were several inconsistencies between the actual
+ variable type and the size that was passed. This should
+ fix some problems on 64-bit architectures where sizeof(int)
+ != sizeof(long).
+
2006-08-25 Paul Jakma <paul.jakma@sun.com>
* thread.c: (general) Add support for monotonic clock, it may still