/usr/include/net-snmp/types.h
David Ford <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
An unsigned variable should remain unsigned regardless of the bit length :)
-david
Scott ~ # diff -ruN /usr/include/net-snmp/types.h~
/usr/include/net-snmp/types.h
--- /usr/include/net-snmp/types.h~ 2007-01-23 16:07:03.000000000 -0500
+++ /usr/include/net-snmp/types.h 2007-01-23 16:07:03.000000000 -0500
@@ -129,7 +129,7 @@
#ifndef HAVE_UINTPTR_T
#if SIZEOF_LONG == 8
/* likely 64bit machine with 64bit addressing? */
- typedef long uintptr_t;
+ typedef unsigned long uintptr_t;
#else
typedef unsigned uintptr_t;
#endif
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users