VirtualBox

Ignore:
Timestamp:
Nov 30, 2010 1:14:14 PM (14 years ago)
Author:
vboxsync
Message:

IPRT: Visual C++ warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/rand/randadv.cpp

    r28800 r34507  
    369369    uint64_t off = u64Last - u64First;
    370370    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;
    372372
    373373    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))
    375375         + u64First;
    376376}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette