VirtualBox

Changeset 30307 in vbox for trunk/src


Ignore:
Timestamp:
Jun 18, 2010 11:46:22 AM (15 years ago)
Author:
vboxsync
Message:

compile fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/socket.cpp

    r30306 r30307  
    598598        AssertCompileSize(WSABUF, sizeof(RTSGSEG));
    599599        AssertCompileMemberSize(WSABUF, buf, RT_SIZEOFMEMB(RTSGSEG, pvSeg));
    600         AssertCompileMemberSize(WSABUF, len, RT_SIZEOFMEMB(RTSGSEG, cbSeg));
    601600
    602601        LPWSABUF paMsg = (LPWSABUF)RTMemTmpAllocZ(pSgBuf->cSeg * sizeof(WSABUF));
     
    605604        {
    606605            paMsg[i].buf = (char *)pSgBuf->pcaSeg[i].pvSeg;
    607             paMsg[i].len = pSgBuf->pcaSeg[i].cbSeg;
     606            paMsg[i].len = (u_long)pSgBuf->pcaSeg[i].cbSeg;
    608607        }
    609608
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