VirtualBox

Changeset 75854 in vbox


Ignore:
Timestamp:
Nov 30, 2018 7:36:54 PM (6 years ago)
Author:
vboxsync
Message:

GuestCtrlImpl.cpp: You cannot change uFlags from uint32_t to int32_t because of HGCMSvcGetU32, not legacy/whatever reasons.

File:
1 edited

Legend:

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

    r75801 r75854  
    179179            HGCMSvcGetPv(&pSvcCb->mpaParms[4], &dataCb.pvData, &dataCb.cbData);
    180180
    181             if (   (         dataCb.uStatus == PROC_STS_ERROR)
    182                    /** @todo Note: Due to legacy reasons we cannot change uFlags to
    183                     *              int32_t, so just cast it for now. */
    184                 && ((int32_t)dataCb.uFlags  == VERR_TOO_MUCH_DATA))
     181            if (   dataCb.uStatus == PROC_STS_ERROR
     182                && (int32_t)dataCb.uFlags == VERR_TOO_MUCH_DATA)
    185183            {
    186184                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