VirtualBox

Ignore:
Timestamp:
Jul 3, 2009 1:21:08 PM (15 years ago)
Author:
vboxsync
Message:

VBoxGuestR3LibGuestProp.cpp: removed (uint32_t) cast+todo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibGuestProp.cpp

    r18451 r21198  
    6666{
    6767    VBoxGuestHGCMConnectInfo Info;
    68     Info.result = (uint32_t)VERR_WRONG_ORDER; /** @todo drop the cast when the result type has been fixed! */
     68    Info.result = VERR_WRONG_ORDER;
    6969    Info.Loc.type = VMMDevHGCMLoc_LocalHost_Existing;
    7070    memset(&Info.Loc.u, 0, sizeof(Info.Loc.u));
     
    9292{
    9393    VBoxGuestHGCMDisconnectInfo Info;
    94     Info.result = (uint32_t)VERR_WRONG_ORDER;  /** @todo drop the cast when the result type has been fixed! */
     94    Info.result = VERR_WRONG_ORDER;
    9595    Info.u32ClientID = u32ClientId;
    9696
     
    120120        SetProperty Msg;
    121121
    122         Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER;  /** @todo drop the cast when the result type has been fixed! */
     122        Msg.hdr.result = VERR_WRONG_ORDER;
    123123        Msg.hdr.u32ClientID = u32ClientId;
    124124        Msg.hdr.u32Function = SET_PROP_VALUE;
     
    135135        DelProperty Msg;
    136136
    137         Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER;  /** @todo drop the cast when the result type has been fixed! */
     137        Msg.hdr.result = VERR_WRONG_ORDER;
    138138        Msg.hdr.u32ClientID = u32ClientId;
    139139        Msg.hdr.u32Function = DEL_PROP;
     
    169169        SetPropertyValue Msg;
    170170
    171         Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER;  /** @todo drop the cast when the result type has been fixed! */
     171        Msg.hdr.result = VERR_WRONG_ORDER;
    172172        Msg.hdr.u32ClientID = u32ClientId;
    173173        Msg.hdr.u32Function = SET_PROP_VALUE;
     
    183183        DelProperty Msg;
    184184
    185         Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER;  /** @todo drop the cast when the result type has been fixed! */
     185        Msg.hdr.result = VERR_WRONG_ORDER;
    186186        Msg.hdr.u32ClientID = u32ClientId;
    187187        Msg.hdr.u32Function = DEL_PROP;
     
    277277    GetProperty Msg;
    278278
    279     Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER;  /** @todo drop the cast when the result type has been fixed! */
     279    Msg.hdr.result = VERR_WRONG_ORDER;
    280280    Msg.hdr.u32ClientID = u32ClientId;
    281281    Msg.hdr.u32Function = GET_PROP;
     
    490490    EnumProperties Msg;
    491491
    492     Msg.hdr.result = (uint32_t)VERR_WRONG_ORDER;  /** @todo drop the cast when the result type has been fixed! */
     492    Msg.hdr.result = VERR_WRONG_ORDER;
    493493    Msg.hdr.u32ClientID = u32ClientId;
    494494    Msg.hdr.u32Function = ENUM_PROPS;
     
    836836    Msg.hdr.u32Timeout = u32Timeout;
    837837    Msg.hdr.fInterruptible = true;
    838     Msg.hdr.info.result = (uint32_t)VERR_WRONG_ORDER;  /** @todo drop the cast when the result type has been fixed! */
     838    Msg.hdr.info.result = VERR_WRONG_ORDER;
    839839    Msg.hdr.info.u32ClientID = u32ClientId;
    840840    Msg.hdr.info.u32Function = GET_NOTIFICATION;
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