VirtualBox

Ignore:
Timestamp:
Mar 28, 2009 5:11:13 AM (16 years ago)
Author:
vboxsync
Message:

VBoxNetDHCP: r=bird: in WinMain(). size_t warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp

    r18282 r18462  
    422422    int32_t             m_cVerbosity;
    423423    uint8_t             m_uCurMsgType;
    424     uint16_t            m_cbCurMsg;
     424    size_t              m_cbCurMsg;
    425425    PCRTNETBOOTP        m_pCurMsg;
    426426    VBOXNETUDPHDRS      m_CurHdrs;
     
    13951395        m_pOpt = (PRTNETDHCPOPT)m_pbCur;
    13961396        m_pOpt->dhcp_opt = uOption;
    1397         m_pOpt->dhcp_len = cb;
     1397        m_pOpt->dhcp_len = (uint8_t)cb;
    13981398        m_pbCur += 2;
    13991399        return true;
     
    20702070    }
    20712071
     2072/** @todo r=bird: crt0.c is already doing all this stuff for us. It's available thru stdlib.h __argv and __argc IIRC. */
     2073
    20722074    LPWSTR lpwCmd = GetCommandLineW();
    20732075    size_t size = wcslen(lpwCmd);
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