VirtualBox

Changeset 47732 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 14, 2013 2:34:35 PM (11 years ago)
Author:
vboxsync
Message:

GuestCtrlImpl.cpp: Warning, cast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp

    r47698 r47732  
    279279            pSvcCb->mpaParms[4].getPointer(&dataCb.pvData, &dataCb.cbData);
    280280
    281             if (   (dataCb.uStatus == PROC_STS_ERROR)
    282                 && (dataCb.uFlags  == VERR_TOO_MUCH_DATA))
     281            if (   (         dataCb.uStatus == PROC_STS_ERROR)
     282                   /** @todo Note: Due to legacy reasons we cannot change uFlags to
     283                    *              int32_t, so just cast it for now. */
     284                && ((int32_t)dataCb.uFlags  == VERR_TOO_MUCH_DATA))
    283285            {
    284286                LogFlowFunc(("Requested command with too much data, skipping dispatching ...\n"));
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