On Wed, Feb 23, 2011 at 11:22:16PM +0100, Magnus Fromreide wrote:
> Chunk 4 looks marvelous. How did this ever compile?

I have no idea if this ever compiled :-) It is certainly some years
ago last time

> Chunk 5-12: Why print lengths as signed integers?

Lazyness. Then you only have to change one thing.

When it says
        "%d", LENGTH_something
where LENGTH_something is a size_t you can either make it
        "%d", (int)LENGTH_something
or
        "%u", (unsigned int)LENGTH_something

:-)

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to