On Mon, 19 Jul 2010 18:04:06 -0400 John wrote:
JG> Thanks. But are you suggesting that I change the longs to int32_t 
JG> throughout the baseline net-snmp code, the very exercise that the good 
JG> folks at net-snmp thought was too onerous to take on?

No, just in that one place to fix the error you currently face.

JG> So my question really remains: what is the normal, expected way to deal 
JG> with this?

Upgrade to a more recent release. :-)

JG> As hard as it would be to perform surgery on the 
JG> net-snmp code, it would be about as bad to convert all our application 
JG> level structs in this way. As I said (and it sounds like you agree) it 
JG> looks like this issue is just as alive with the current code as it is 
JG> with the old release I'm working with.

I suggest just letting the compiler do the conversion where it will, and use
temporary variables where it won't. For the most part, the compiler will
handle it for you.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to