[PATCH 1/3] network: Fix integer types
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Feb 7 13:22:50 UTC 2018
---
cpukit/libnetworking/lib/ftpfs.c | 2 +-
cpukit/libnetworking/rtems/rtems_syscall.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c
index 1e0f180fd0..5e0cb95dd3 100644
--- a/cpukit/libnetworking/lib/ftpfs.c
+++ b/cpukit/libnetworking/lib/ftpfs.c
@@ -1294,7 +1294,7 @@ static void rtems_ftpfs_unmount_me(
static int rtems_ftpfs_ioctl(
rtems_libio_t *iop,
- uint32_t command,
+ ioctl_command_t command,
void *arg
)
{
diff --git a/cpukit/libnetworking/rtems/rtems_syscall.c b/cpukit/libnetworking/rtems/rtems_syscall.c
index c7ff724e0f..5225b53beb 100644
--- a/cpukit/libnetworking/rtems/rtems_syscall.c
+++ b/cpukit/libnetworking/rtems/rtems_syscall.c
@@ -762,7 +762,7 @@ so_ioctl (rtems_libio_t *iop, struct socket *so, uint32_t command, void *buffe
}
static int
-rtems_bsdnet_ioctl (rtems_libio_t *iop, uint32_t command, void *buffer)
+rtems_bsdnet_ioctl (rtems_libio_t *iop, ioctl_command_t command, void *buffer)
{
struct socket *so;
int error;
--
2.12.3
More information about the devel
mailing list