Dave Shield wrote:
On Tue, 2006-02-14 at 20:08 +0530, [EMAIL PROTECTED] wrote:
Thanks for ur inputs
count.high = lval&0xffffffff00000000;
I'm very suspicious about this.
count.high should be a 32-bit value
(containing the upper-32 bits of the
full 64-bit value).
The code you show doesn't seem to do this.
I'm no 64-bit expert, but I'm not at all
convinced this is correct.
Hopefully someone more knowledgable than
me will chip in....
Your correct. The method he is using will work fine for any value that
can be expressed as a 32-bit value. However, he's always setting .high
to 0, so he'll never be able to express a value that goes beyond 32-bits.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users