VirtualBox

Changeset 74673 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Oct 8, 2018 12:27:13 PM (6 years ago)
Author:
vboxsync
Message:

DnD/DnDURIObject: Fixed checking for valid flags in OpenEx().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/DragAndDrop/DnDURIObject.cpp

    r74574 r74673  
    179179                         uint64_t fOpen /* = 0 */, uint32_t fMode /* = 0 */, DNDURIOBJECTFLAGS fFlags /* = DNDURIOBJECT_FLAGS_NONE */)
    180180{
    181     AssertReturn(fFlags & DNDURIOBJECT_FLAGS_VALID_MASK, VERR_INVALID_PARAMETER);
     181    AssertReturn(!(fFlags & ~DNDURIOBJECT_FLAGS_VALID_MASK), VERR_INVALID_FLAGS);
    182182    RT_NOREF1(fFlags);
    183183
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