VirtualBox

Changeset 85245 in vbox


Ignore:
Timestamp:
Jul 11, 2020 11:07:43 PM (5 years ago)
Author:
vboxsync
Message:

Main/PCIDeviceAttachmentImpl.cpp: Signed/unsigned conversion issues. bugref:9790

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/PCIDeviceAttachmentImpl.cpp

    r82968 r85245  
    9494                                            const settings::HostPCIDeviceAttachment &hpda)
    9595{
    96     return init(aParent, hpda.strDeviceName, hpda.uHostAddress, hpda.uGuestAddress, TRUE);
     96    /** @todo r=bird: Inconsistent signed/unsigned crap. */
     97    return init(aParent, hpda.strDeviceName, (LONG)hpda.uHostAddress, (LONG)hpda.uGuestAddress, TRUE);
    9798}
    9899
     
    101102{
    102103    Assert(m);
    103     data.uHostAddress = m->HostAddress;
    104     data.uGuestAddress = m->GuestAddress;
     104    /** @todo r=bird: Inconsistent signed/unsigned crap. */
     105    data.uHostAddress  = (uint32_t)m->HostAddress;
     106    data.uGuestAddress = (uint32_t)m->GuestAddress;
    105107    data.strDeviceName = m->DevName;
    106108
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