Changeset 85255 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Jul 11, 2020 11:39:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/VRDEServerImpl.cpp
r82968 r85255 286 286 * digit. 287 287 */ 288 size_t cch = pszEnd - pszStart;288 size_t cch = (size_t)(pszEnd - pszStart); 289 289 if (cch > 0 && cch <= 5) /* Port is up to 5 decimal digits. */ 290 290 { … … 292 292 while (pszStart != pszEnd) 293 293 { 294 uPort = uPort * 10 + *pszStart - '0';294 uPort = uPort * 10 + (unsigned)(*pszStart - '0'); 295 295 pszStart++; 296 296 }
Note:
See TracChangeset
for help on using the changeset viewer.