On Thu, 28 Jun 2007 19:39:58 +0900 Mitsuru wrote:
MC> #if defined (WIN32) && !defined (mingw32)
MC> else if (vars->val_len == sizeof(__int64)){
MC> const unsigned __int64 *val_ullong
MC> = (const unsigned __int64 *) value;
MC> #else
MC> - else if (vars->val_len == sizeof(long long)){
MC> + else if (vars->val_len == sizeof(long long)){
MC> const unsigned long long *val_ullong
MC> = (const unsigned long long *) value;
MC> #endif
I'd much rather see this special case done away with, and simply use the
uint64_t type from net-snmp-config.h. Since windows has it's own static
version, that file should be updated to define uint64_t as __int64.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders