Changeset 40934 in vbox for trunk/src/VBox/Runtime/common/path
- Timestamp:
- Apr 16, 2012 5:53:05 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77485
- Location:
- trunk/src/VBox/Runtime/common/path
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/path/RTPathAbsDup.cpp
r28800 r40934 49 49 if (RT_SUCCESS(rc)) 50 50 return RTStrDup(szPath); 51 return NULL;51 return (char *)NULL; 52 52 } 53 53 -
trunk/src/VBox/Runtime/common/path/RTPathAbsExDup.cpp
r28800 r40934 53 53 if (RT_SUCCESS(rc)) 54 54 return RTStrDup(szPath); 55 return NULL;55 return (char *)NULL; 56 56 } 57 57 -
trunk/src/VBox/Runtime/common/path/RTPathExt.cpp
r28800 r40934 43 43 { 44 44 const char *psz = pszPath; 45 const char *pszExt = NULL;45 const char *pszExt = (char *)NULL; 46 46 47 47 for (;; psz++) … … 52 52 #if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2) 53 53 case ':': 54 pszExt = NULL;54 pszExt = (char *)NULL; 55 55 break; 56 56 … … 58 58 #endif 59 59 case '/': 60 pszExt = NULL;60 pszExt = (char *)NULL; 61 61 break; 62 62 case '.': … … 68 68 if (pszExt) 69 69 return (char *)(void *)pszExt; 70 return NULL;70 return (char *)NULL; 71 71 } 72 72 } 73 73 74 74 /* will never get here */ 75 return NULL;75 return (char *)NULL; 76 76 } 77 77 -
trunk/src/VBox/Runtime/common/path/RTPathFilename.cpp
r39243 r40934 67 67 if (*pszName) 68 68 return (char *)(void *)pszName; 69 return NULL;69 return (char *)NULL; 70 70 } 71 71 } -
trunk/src/VBox/Runtime/common/path/RTPathParse.cpp
r28800 r40934 56 56 ssize_t offRoot = 0; 57 57 const char *pszName = pszPath; 58 const char *pszLastDot = NULL;58 const char *pszLastDot = (char *)NULL; 59 59 60 60 for (;; psz++) -
trunk/src/VBox/Runtime/common/path/RTPathRealDup.cpp
r28800 r40934 50 50 if (RT_SUCCESS(rc)) 51 51 return RTStrDup(szPath); 52 return NULL;52 return (char *)NULL; 53 53 } 54 54 -
trunk/src/VBox/Runtime/common/path/RTPathStripExt.cpp
r28800 r40934 42 42 RTDECL(void) RTPathStripExt(char *pszPath) 43 43 { 44 char *pszDot = NULL;44 char *pszDot = (char *)NULL; 45 45 for (;; pszPath++) 46 46 { … … 53 53 #endif 54 54 case '/': 55 pszDot = NULL;55 pszDot = (char *)NULL; 56 56 break; 57 57 case '.': -
trunk/src/VBox/Runtime/common/path/RTPathStripFilename.cpp
r28800 r40934 44 44 { 45 45 char *psz = pszPath; 46 char *pszLastSep = NULL;46 char *pszLastSep = (char *)NULL; 47 47 48 48
Note:
See TracChangeset
for help on using the changeset viewer.