summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/kern
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-15 11:08:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-08-15 11:08:14 +0000
commit5f885443699b77018acccb9fff05f7d436f4fbb8 (patch)
treea3497bdb0e6f6dd745a8a24423a7e3a3a01cf54b /cpukit/libnetworking/kern
parent2006-08-15 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-5f885443699b77018acccb9fff05f7d436f4fbb8.tar.bz2
2006-08-15 Joel Sherrill <joel@OARcorp.com>
* libnetworking/kern/kern_sysctl.c: Change int to int32_t. * libnetworking/net/if_loop.c: Add cast to long. These plus a patch to machine/param.h let the h8300 build multilib.
Diffstat (limited to 'cpukit/libnetworking/kern')
-rw-r--r--cpukit/libnetworking/kern/kern_sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libnetworking/kern/kern_sysctl.c b/cpukit/libnetworking/kern/kern_sysctl.c
index 6b32c82c6b..6cbf2a12f7 100644
--- a/cpukit/libnetworking/kern/kern_sysctl.c
+++ b/cpukit/libnetworking/kern/kern_sysctl.c
@@ -146,7 +146,7 @@ sysctl_register_oid(struct sysctl_oid *oidp)
* accomodate e.g. net.inet.raw as a static sysctl node.
*/
if (oidp->oid_number == OID_AUTO) {
- static int newoid = CTL_AUTO_START;
+ static int32_t newoid = CTL_AUTO_START;
oidp->oid_number = newoid++;
if (newoid == 0x7fffffff)