[rtems commit] network: Fix integer types

Sebastian Huber sebh at rtems.org
Thu Feb 8 08:18:57 UTC 2018


Module:    rtems
Branch:    master
Commit:    0f7913b9110ef1a45427f42558df1bc042f9af91
Changeset: http://git.rtems.org/rtems/commit/?id=0f7913b9110ef1a45427f42558df1bc042f9af91

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Feb  7 09:23:08 2018 +0100

network: Fix integer types

---

 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 1e0f180..5e0cb95 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 c7ff724..5225b53 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;




More information about the vc mailing list