Changeset 18427 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Mar 28, 2009 1:52:49 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/test.cpp
r18366 r18427 198 198 pTest->cbGuard = PAGE_SIZE * 7; 199 199 pTest->pszTest = RTStrDup(pszTest); 200 pTest->cchTest = strlen(pszTest);200 pTest->cchTest = (unsigned)strlen(pszTest); 201 201 pTest->pOutStrm = g_pStdOut; 202 202 pTest->fNewLine = true; … … 304 304 if (RT_LIKELY(pMem)) 305 305 { 306 uint32_t constcbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);306 size_t const cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE); 307 307 pMem->aGuards[0].cb = pMem->aGuards[1].cb = pTest->cbGuard; 308 308 pMem->cbAlloc = pMem->aGuards[0].cb + pMem->aGuards[1].cb + cbAligned; … … 512 512 static int rtTestPrintfV(PRTTESTINT pTest, const char *pszFormat, va_list va) 513 513 { 514 return RTStrFormatV(rtTestPrintfOutput, pTest, NULL, NULL, pszFormat, va);514 return (int)RTStrFormatV(rtTestPrintfOutput, pTest, NULL, NULL, pszFormat, va); 515 515 } 516 516
Note:
See TracChangeset
for help on using the changeset viewer.