On 21/09/2007, Bruce Shaw <[EMAIL PROTECTED]> wrote: > >I have a requirement of bringing-up NetSNMP on MIPS64-bit processor. > >My worry is "long" data-type on 64-bit processor is 8-bytes. And in > >net-snmp code, i see that long is used by several files, where it is > >meant for INTEGER,COUNTER32, Gauge32 data-types of SNMP, which should > > be 4-byte when it is sent over the network. > > Net-snmp runs correctly on ULTRASPARC IV processors which are 64 bit. > > We have been attempting to weed out all the legacy "long"s and convert > them to their POSIX(?)-standard equivalents (eg. ulong(?)). > > What did we miss?
And which version of the code are you working with? 5.4.1, or something earlier? Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
