- Timestamp:
- Sep 6, 2020 8:28:57 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevQemuFwCfg.cpp
r86032 r86033 344 344 if (RT_SUCCESS(rc)) 345 345 { 346 pThis->u.u32 = strlen(&sz[0]) + 1;346 pThis->u.u32 = (uint32_t)strlen(&sz[0]) + 1; 347 347 *pcbItem = sizeof(uint32_t); 348 348 } … … 365 365 int rc = pHlp->pfnCFGMQueryString(pThis->pCfg, pItem->pszCfgmKey, &sz[0], sizeof(sz)); 366 366 if (RT_SUCCESS(rc)) 367 *pcbItem = strlen(&sz[0]) + 1;367 *pcbItem = (uint32_t)strlen(&sz[0]) + 1; 368 368 else 369 369 LogRel(("QemuFwCfg: Failed to query \"%s\" -> %Rrc\n", pItem->pszCfgmKey, rc)); … … 456 456 if (RT_SUCCESS(rc)) 457 457 { 458 size_t cch =strlen(sz) + 1;458 uint32_t cch = (uint32_t)strlen(sz) + 1; 459 459 if (off < cch) 460 460 {
Note:
See TracChangeset
for help on using the changeset viewer.