Changeset 14060 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Nov 10, 2008 11:10:48 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 39116
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/stream.cpp
r8245 r14060 204 204 int rc; 205 205 char szFilename[RTPATH_MAX]; 206 intcch = RTStrPrintf(szFilename, sizeof(szFilename), pszFilenameFmt, args);207 if (cch < (int)sizeof(szFilename))206 size_t cch = RTStrPrintf(szFilename, sizeof(szFilename), pszFilenameFmt, args); 207 if (cch < sizeof(szFilename)) 208 208 rc = RTStrmOpen(szFilename, pszMode, ppStream); 209 209 else … … 626 626 #ifdef HAVE_FWRITE_UNLOCKED 627 627 flockfile(pStream->pFile); 628 rc = RTStrFormatV(rtstrmOutput, pStream, NULL, NULL, pszFormat, args);628 rc = (int)RTStrFormatV(rtstrmOutput, pStream, NULL, NULL, pszFormat, args); 629 629 funlockfile(pStream->pFile); 630 630 #else 631 rc = RTStrFormatV(rtstrmOutput, pStream, NULL, NULL, pszFormat, args);631 rc = (int)RTStrFormatV(rtstrmOutput, pStream, NULL, NULL, pszFormat, args); 632 632 #endif 633 Assert(rc >= 0); 633 634 } 634 635 else
Note:
See TracChangeset
for help on using the changeset viewer.