VirtualBox

Ignore:
Timestamp:
Aug 19, 2007 8:19:21 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23728
Message:

fixed eol-style, fixed gcc-4.2 warings about 'char*' version 'const char*'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/testcase/tstShflCase.cpp

    • Property svn:eol-style set to native
    r4071 r4232  
    4848static int iDirFile = 0;
    4949
    50 static char *pszDirList[] =
     50static const char *pszDirList[] =
    5151{
    5252"c:",
     
    5555};
    5656
    57 static char *pszDirListC[] =
     57static const char *pszDirListC[] =
    5858{
    5959".",
     
    6262};
    6363
    64 static char *pszDirListTestdir[] =
     64static const char *pszDirListTestdir[] =
    6565{
    6666".",
     
    8181};
    8282
    83 static char *pszDirListSUBDIR[] =
     83static const char *pszDirListSUBDIR[] =
    8484{
    8585".",
     
    151151{
    152152    int cMax;
    153     char **ppszDirList;
     153    const char **ppszDirList;
    154154
    155155    /* first try pszDirList */
    156     for (int i=0;i<RT_ELEMENTS(pszDirList);i++)
     156    for (unsigned int i=0;i<RT_ELEMENTS(pszDirList);i++)
    157157    {
    158158        if(!strcmp(pszPath, pszDirList[i]))
Note: See TracChangeset for help on using the changeset viewer.

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