VirtualBox

Changeset 507 in kBuild for trunk/src/gmake/glob/glob.c


Ignore:
Timestamp:
Sep 15, 2006 6:31:29 AM (18 years ago)
Author:
bird
Message:

Fixed MSC warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmake/glob/glob.c

    r503 r507  
    370370  size_t dirlen;
    371371  int status;
    372   int oldcount;
     372  __size_t oldcount; /* bird: correct type. */
    373373
    374374  if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0)
     
    856856         the pattern in each directory found.  */
    857857      glob_t dirs;
    858       register int i;
     858      register __size_t i; /* bird: correct type. */
    859859
    860860      status = glob (dirname,
     
    10061006        {
    10071007          /* Stick the directory on the front of each name.  */
    1008           int ignore = oldcount;
     1008          __size_t ignore = oldcount; /* bird: correct type. */
    10091009
    10101010          if ((flags & GLOB_DOOFFS) && ignore < pglob->gl_offs)
     
    10241024    {
    10251025      /* Append slashes to directory names.  */
    1026       int i;
     1026      __size_t i; /* bird: correct type. */
    10271027      struct stat st;
    10281028      for (i = oldcount; i < pglob->gl_pathc; ++i)
     
    10681068  if (pglob->gl_pathv != NULL)
    10691069    {
    1070       register int i;
     1070      register __size_t i; /* bird: correct type */
    10711071      for (i = 0; i < pglob->gl_pathc; ++i)
    10721072        if (pglob->gl_pathv[i] != NULL)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette