Changeset 40938 in vbox for trunk/src/VBox/Runtime/common/string/straprintf.cpp
- Timestamp:
- Apr 16, 2012 11:58:26 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/straprintf.cpp
r40934 r40938 132 132 133 133 /* failure */ 134 pArg->psz = (char *)NULL;134 pArg->psz = NULL; 135 135 } 136 136 return 0; … … 153 153 Arg.pszTag = pszTag; 154 154 szBuf[0] = '\0'; 155 int cbRet = (int)RTStrFormatV(strallocoutput, &Arg, (PFNSTRFORMAT)NULL, NULL, pszFormat, args);155 int cbRet = (int)RTStrFormatV(strallocoutput, &Arg, NULL, NULL, pszFormat, args); 156 156 if (Arg.psz) 157 157 { … … 175 175 { 176 176 /* allocation error */ 177 *ppszBuffer = (char *)NULL;177 *ppszBuffer = NULL; 178 178 cbRet = -1; 179 179
Note:
See TracChangeset
for help on using the changeset viewer.