Changeset a7fa55ca in rtems


Ignore:
Timestamp:
Dec 1, 2011, 8:26:49 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
e493e2a8
Parents:
f865fc5d
Message:

2011-12-01 Ralf Corsépius <ralf.corsepius@…>

  • libnetworking/rtems/mkrootfs.c: Use mode_t for modes, Use size_t for sizes.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rf865fc5d ra7fa55ca  
    112011-12-01      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libnetworking/rtems/mkrootfs.c: Use mode_t for modes,
     4        Use size_t for sizes.
    35        * libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
    46        * posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
  • cpukit/libnetworking/rtems/mkrootfs.c

    rf865fc5d ra7fa55ca  
    5151{
    5252  const char *name;
    53   int        mode;
     53  mode_t      mode;
    5454} rtems_rootfs_dir_table;
    5555
     
    100100       */
    101101
    102       int i = strlen (file);
     102      size_t i = strlen (file);
    103103
    104104      while (i)
     
    145145  for (i = 0; i < line_cnt; i++)
    146146  {
    147     int len = strlen (lines[i]);
     147    size_t len = strlen (lines[i]);
    148148
    149149    if (len)
     
    213213{
    214214  const char *lines[1];
    215   int        i;
     215  size_t      i;
    216216
    217217  /*
Note: See TracChangeset for help on using the changeset viewer.