mark kaplun wrote:
While compiling the 5.2.2.pre1 source, I have run into a compilation error in snmp_client.c line 37. The compiler complains that the term "long long" is illeagal, and actually by VC documentation 64 bits integers should be declared as __int64. So instead of
            else if (vars->val_len == sizeof(long long)){
                const unsigned long long   *val_ullong
                    = (const unsigned long long *) value;
there should be
            else if (vars->val_len == sizeof(__int64)){
                const unsigned __int64   *val_ullong
                    = (const unsigned __int64 *) value;

Thanks for the fix, but the CVS version already has a fix for the error and it will appear in pre2*.

Alex


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to