summaryrefslogtreecommitdiffstats
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
parent0f8eaed193d1e5b298e50dde677c1539153dbd1f (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.
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/libnetworking/kern/kern_sysctl.c2
-rw-r--r--cpukit/libnetworking/net/if_loop.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 6eb21eb186..912af648c8 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2006-08-10 Till Straumann <strauman@slac.stanford.edu>
* libnetworking/rtems/rtems_mii_ioctl_kern.c:
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)
diff --git a/cpukit/libnetworking/net/if_loop.c b/cpukit/libnetworking/net/if_loop.c
index c84abd9ded..ab9a7a7506 100644
--- a/cpukit/libnetworking/net/if_loop.c
+++ b/cpukit/libnetworking/net/if_loop.c
@@ -233,7 +233,7 @@ lortrequest(cmd, rt, sa)
* overhead.
*/
rt->rt_rmx.rmx_recvpipe =
- rt->rt_rmx.rmx_sendpipe = 3 * LOMTU;
+ rt->rt_rmx.rmx_sendpipe = 3L * (long)LOMTU;
}
}