Changeset 88297 in vbox for trunk/src/VBox/Main/src-server/solaris
- Timestamp:
- Mar 26, 2021 12:29:59 PM (4 years ago)
- Location:
- trunk/src/VBox/Main/src-server/solaris
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/solaris/NetIf-solaris.cpp
r83794 r88297 63 63 */ 64 64 int cbInstance = 0; 65 int cbIface = strlen(pszIfaceName);65 size_t cbIface = strlen(pszIfaceName); 66 66 const char *pszEnd = pszIfaceName + cbIface - 1; 67 for ( int i = 0; i < cbIface - 1; i++)67 for (size_t i = 0; i < cbIface - 1; i++) 68 68 { 69 69 if (!RT_C_IS_DIGIT(*pszEnd)) … … 333 333 */ 334 334 int cbInstance = 0; 335 int cbIface = strlen(szIfaceName);335 size_t cbIface = strlen(szIfaceName); 336 336 const char *pszEnd = pszIface + cbIface - 1; 337 for ( int i = 0; i < cbIface - 1; i++)337 for (size_t i = 0; i < cbIface - 1; i++) 338 338 { 339 339 if (!RT_C_IS_DIGIT(*pszEnd)) -
trunk/src/VBox/Main/src-server/solaris/PerformanceSolaris.cpp
r82968 r88297 336 336 */ 337 337 int cbInstance = 0; 338 int cbIface = strlen(pszIfaceName);338 size_t cbIface = strlen(pszIfaceName); 339 339 const char *pszEnd = pszIfaceName + cbIface - 1; 340 for ( int i = 0; i < cbIface - 1; i++)340 for (size_t i = 0; i < cbIface - 1; i++) 341 341 { 342 342 if (!RT_C_IS_DIGIT(*pszEnd))
Note:
See TracChangeset
for help on using the changeset viewer.