VirtualBox

Ignore:
Timestamp:
Apr 16, 2012 5:53:05 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77485
Message:

Runtime: linux 3.4-rc3 build fix [-fpermissive]

Location:
trunk/src/VBox/Runtime/common/path
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/path/RTPathAbsDup.cpp

    r28800 r40934  
    4949    if (RT_SUCCESS(rc))
    5050        return RTStrDup(szPath);
    51     return NULL;
     51    return (char *)NULL;
    5252}
    5353
  • trunk/src/VBox/Runtime/common/path/RTPathAbsExDup.cpp

    r28800 r40934  
    5353    if (RT_SUCCESS(rc))
    5454        return RTStrDup(szPath);
    55     return NULL;
     55    return (char *)NULL;
    5656}
    5757
  • trunk/src/VBox/Runtime/common/path/RTPathExt.cpp

    r28800 r40934  
    4343{
    4444    const char *psz = pszPath;
    45     const char *pszExt = NULL;
     45    const char *pszExt = (char *)NULL;
    4646
    4747    for (;; psz++)
     
    5252#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
    5353            case ':':
    54                 pszExt = NULL;
     54                pszExt = (char *)NULL;
    5555                break;
    5656
     
    5858#endif
    5959            case '/':
    60                 pszExt = NULL;
     60                pszExt = (char *)NULL;
    6161                break;
    6262            case '.':
     
    6868                if (pszExt)
    6969                    return (char *)(void *)pszExt;
    70                 return NULL;
     70                return (char *)NULL;
    7171        }
    7272    }
    7373
    7474    /* will never get here */
    75     return NULL;
     75    return (char *)NULL;
    7676}
    7777
  • trunk/src/VBox/Runtime/common/path/RTPathFilename.cpp

    r39243 r40934  
    6767                if (*pszName)
    6868                    return (char *)(void *)pszName;
    69                 return NULL;
     69                return (char *)NULL;
    7070        }
    7171    }
  • trunk/src/VBox/Runtime/common/path/RTPathParse.cpp

    r28800 r40934  
    5656    ssize_t     offRoot = 0;
    5757    const char *pszName = pszPath;
    58     const char *pszLastDot = NULL;
     58    const char *pszLastDot = (char *)NULL;
    5959
    6060    for (;; psz++)
  • trunk/src/VBox/Runtime/common/path/RTPathRealDup.cpp

    r28800 r40934  
    5050    if (RT_SUCCESS(rc))
    5151        return RTStrDup(szPath);
    52     return NULL;
     52    return (char *)NULL;
    5353}
    5454
  • trunk/src/VBox/Runtime/common/path/RTPathStripExt.cpp

    r28800 r40934  
    4242RTDECL(void) RTPathStripExt(char *pszPath)
    4343{
    44     char *pszDot = NULL;
     44    char *pszDot = (char *)NULL;
    4545    for (;; pszPath++)
    4646    {
     
    5353#endif
    5454            case '/':
    55                 pszDot = NULL;
     55                pszDot = (char *)NULL;
    5656                break;
    5757            case '.':
  • trunk/src/VBox/Runtime/common/path/RTPathStripFilename.cpp

    r28800 r40934  
    4444{
    4545    char *psz = pszPath;
    46     char *pszLastSep = NULL;
     46    char *pszLastSep = (char *)NULL;
    4747
    4848
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