VirtualBox

Changeset 43175 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Sep 4, 2012 5:43:31 PM (12 years ago)
Author:
vboxsync
Message:

more windows build fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/RTStrIPv6.cpp

    r43172 r43175  
    9191    uint32_t fieldLength = 0;
    9292    uint32_t dots = 0;
    93     uint32_t gapSize = 0;
     93    size_t gapSize = 0;
    9494    uint32_t intPortOut = 0;
    9595
     
    685685                if (rc == 0 && byteOut < 256)
    686686                {
    687                     rc = RTStrPrintf(szDummy, 3, "%02x", byteOut);
     687                    RTStrPrintf(szDummy, 3, "%02x", byteOut);
    688688                    memcpy(pszInternalAddress, szDummy, 2);
    689689                    pszInternalAddress = pszInternalAddress + 2;
     
    980980    char *p = NULL, *pl = NULL;
    981981
    982     int memAllocMaxSize = RT_MAX(strlen(psz), resultAddressSize) + 40;
     982    size_t memAllocMaxSize = RT_MAX(strlen(psz), resultAddressSize) + 40;
    983983
    984984    char *pszAddressOutLocal = (char *)RTMemTmpAlloc(memAllocMaxSize);
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