VirtualBox

Changeset 88294 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Mar 25, 2021 5:50:38 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143505
Message:

IPRT/rtSemEventMultiPosixWaitTimed: Fixed wrong milli->nano overflow check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/semeventmulti-posix.cpp

    r82968 r88294  
    457457     */
    458458    if (fFlags & RTSEMWAIT_FLAGS_MILLISECS)
    459         uTimeout = uTimeout < UINT64_MAX / UINT32_C(1000000) * UINT32_C(1000000)
     459        uTimeout = uTimeout < UINT64_MAX / UINT32_C(1000000)
    460460                 ? uTimeout * UINT32_C(1000000)
    461461                 : UINT64_MAX;
Note: See TracChangeset for help on using the changeset viewer.

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