VirtualBox

Ignore:
Timestamp:
Feb 22, 2021 2:52:34 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142889
Message:

NAT/Net: Alleviate VC paranoia about integer size mismatch. bugref:9929.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp

    r87826 r87827  
    19441944        return ERR_MEM;
    19451945
    1946     pbuf_copy_partial(pPBuf, frame.pvFrame, cbFrame, ETH_PAD_SIZE);
     1946    pbuf_copy_partial(pPBuf, frame.pvFrame, (u16_t)cbFrame, ETH_PAD_SIZE);
    19471947    rc = self->m_IntNetIf.ifOutput(frame);
    19481948    if (RT_FAILURE(rc))
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