Changeset 34507 in vbox for trunk/src/VBox/Runtime/common/rand/randadv.cpp
- Timestamp:
- Nov 30, 2010 1:14:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/rand/randadv.cpp
r28800 r34507 369 369 uint64_t off = u64Last - u64First; 370 370 if (off <= UINT32_MAX) 371 return (uint64_t)pThis->pfnGetU32(pThis, 0, off) + u64First;371 return (uint64_t)pThis->pfnGetU32(pThis, 0, (uint32_t)off) + u64First; 372 372 373 373 return ( (uint64_t)pThis->pfnGetU32(pThis, 0, UINT32_MAX) 374 | ((uint64_t)pThis->pfnGetU32(pThis, 0, off >> 32) << 32))374 | ((uint64_t)pThis->pfnGetU32(pThis, 0, (uint32_t)(off >> 32)) << 32)) 375 375 + u64First; 376 376 }
Note:
See TracChangeset
for help on using the changeset viewer.