VirtualBox

Changeset 18427 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Mar 28, 2009 1:52:49 AM (16 years ago)
Author:
vboxsync
Message:

iprt/test.cpp: MSC/64 warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/test.cpp

    r18366 r18427  
    198198    pTest->cbGuard  = PAGE_SIZE * 7;
    199199    pTest->pszTest  = RTStrDup(pszTest);
    200     pTest->cchTest  = strlen(pszTest);
     200    pTest->cchTest  = (unsigned)strlen(pszTest);
    201201    pTest->pOutStrm = g_pStdOut;
    202202    pTest->fNewLine = true;
     
    304304    if (RT_LIKELY(pMem))
    305305    {
    306         uint32_t const  cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
     306        size_t const    cbAligned = RT_ALIGN_Z(cb, PAGE_SIZE);
    307307        pMem->aGuards[0].cb = pMem->aGuards[1].cb = pTest->cbGuard;
    308308        pMem->cbAlloc       = pMem->aGuards[0].cb + pMem->aGuards[1].cb + cbAligned;
     
    512512static int rtTestPrintfV(PRTTESTINT pTest, const char *pszFormat, va_list va)
    513513{
    514     return RTStrFormatV(rtTestPrintfOutput, pTest, NULL, NULL, pszFormat, va);
     514    return (int)RTStrFormatV(rtTestPrintfOutput, pTest, NULL, NULL, pszFormat, va);
    515515}
    516516
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