Re: truncating integer value > 32 bits

2010-06-28 Thread Robert Story
the following message. SF> > SF> > truncating integer value > 32 bits I'm guessing that you meant you were trying to send a SNMP set request with this value, not that you had a compiler error. If that is the case, you need to use net-snmp's counter64 structure to compose the 64 bi

Re: truncating integer value > 32 bits

2010-06-28 Thread Steve Friedl
On Mon, Jun 28, 2010 at 09:01:29PM +0530, Prakash wrote: > How to handle u_int64_t type variables. > > u_int64_t value = 39952034381; > > when I tried to set the value, I am getting the following message. > > truncating integer value > 32 bits The integral constant 399

truncating integer value > 32 bits

2010-06-28 Thread Prakash
Hi all, How to handle u_int64_t type variables. u_int64_t value = 39952034381; when I tried to set the value, I am getting the following message. truncating integer value > 32 bits please help Regards, Prakash R