mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 20:19:12 +08:00
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.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user