On 31 March 2010 09:44, Bart Van Assche <[email protected]> wrote:
> On most 64-bit systems sizeof(int) == 4 and on some others sizeof(int) == 8.

But what is the value of INT32_MAX on such systems?
I would expect that to be 0x7fffffff regardless of the value of sizeof(int)

I may well be missing something here, but I don't see how the size of
an integer or long is relevant (as long as it's not *less* than 32-bits!).

The patch is designed to limit the values reported to be no greater
than INT32_MAX - regardless of whether the variable can actually hold
a larger value.

Have I misunderstood what you're trying to say?

Dave

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to