Changeset 25323 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Dec 11, 2009 12:27:17 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 55902
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/getopt.cpp
r24825 r25323 401 401 */ 402 402 pState->pDef = NULL; 403 pState->uIndex = UINT 64_MAX;403 pState->uIndex = UINT32_MAX; 404 404 405 405 /* … … 512 512 return VERR_GETOPT_INDEX_MISSING; 513 513 514 uint 64_t uIndex;514 uint32_t uIndex; 515 515 char *pszRet = NULL; 516 int rc = RTStrToUInt 64Ex(&pszArgThis[cchLong], &pszRet, 10, &uIndex);516 int rc = RTStrToUInt32Ex(&pszArgThis[cchLong], &pszRet, 10, &uIndex); 517 517 if (rc == VWRN_TRAILING_CHARS) 518 518 { … … 584 584 return VERR_GETOPT_INDEX_MISSING; 585 585 586 uint 64_t uIndex;586 uint32_t uIndex; 587 587 char *pszRet = NULL; 588 if (RTStrToUInt 64Full(&pszArgThis[cchLong], 10, &uIndex) == VINF_SUCCESS)588 if (RTStrToUInt32Full(&pszArgThis[cchLong], 10, &uIndex) == VINF_SUCCESS) 589 589 pState->uIndex = uIndex; 590 590 else
Note:
See TracChangeset
for help on using the changeset viewer.