Changeset 43175 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Sep 4, 2012 5:43:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/RTStrIPv6.cpp
r43172 r43175 91 91 uint32_t fieldLength = 0; 92 92 uint32_t dots = 0; 93 uint32_t gapSize = 0;93 size_t gapSize = 0; 94 94 uint32_t intPortOut = 0; 95 95 … … 685 685 if (rc == 0 && byteOut < 256) 686 686 { 687 rc =RTStrPrintf(szDummy, 3, "%02x", byteOut);687 RTStrPrintf(szDummy, 3, "%02x", byteOut); 688 688 memcpy(pszInternalAddress, szDummy, 2); 689 689 pszInternalAddress = pszInternalAddress + 2; … … 980 980 char *p = NULL, *pl = NULL; 981 981 982 int memAllocMaxSize = RT_MAX(strlen(psz), resultAddressSize) + 40;982 size_t memAllocMaxSize = RT_MAX(strlen(psz), resultAddressSize) + 40; 983 983 984 984 char *pszAddressOutLocal = (char *)RTMemTmpAlloc(memAllocMaxSize);
Note:
See TracChangeset
for help on using the changeset viewer.