From a7fa55cae1b3bb0d5c80bdc84ccad40d5d33187d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 1 Dec 2011 08:26:49 +0000 Subject: =?UTF-8?q?2011-12-01=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libnetworking/rtems/mkrootfs.c: Use mode_t for modes, Use size_t for sizes. --- cpukit/libnetworking/rtems/mkrootfs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/libnetworking') diff --git a/cpukit/libnetworking/rtems/mkrootfs.c b/cpukit/libnetworking/rtems/mkrootfs.c index 63d67e26b3..7059fafc59 100644 --- a/cpukit/libnetworking/rtems/mkrootfs.c +++ b/cpukit/libnetworking/rtems/mkrootfs.c @@ -50,7 +50,7 @@ typedef struct rtems_rootfs_dir_table { const char *name; - int mode; + mode_t mode; } rtems_rootfs_dir_table; /* @@ -99,7 +99,7 @@ rtems_rootfs_file_append (const char *file, * path. If it exists nothing happens. */ - int i = strlen (file); + size_t i = strlen (file); while (i) { @@ -144,7 +144,7 @@ rtems_rootfs_file_append (const char *file, for (i = 0; i < line_cnt; i++) { - int len = strlen (lines[i]); + size_t len = strlen (lines[i]); if (len) { @@ -212,7 +212,7 @@ int rtems_create_root_fs (void) { const char *lines[1]; - int i; + size_t i; /* * Create the directories. -- cgit v1.2.3