diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-01 08:26:49 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-01 08:26:49 +0000 |
commit | a7fa55cae1b3bb0d5c80bdc84ccad40d5d33187d (patch) | |
tree | 91452a1678e7a4b4bdc8b5059f43ff46bfc4eb94 /cpukit/libnetworking/rtems | |
parent | 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-a7fa55cae1b3bb0d5c80bdc84ccad40d5d33187d.tar.bz2 |
2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/mkrootfs.c: Use mode_t for modes,
Use size_t for sizes.
Diffstat (limited to 'cpukit/libnetworking/rtems')
-rw-r--r-- | cpukit/libnetworking/rtems/mkrootfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
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. |