VirtualBox

Ignore:
Timestamp:
Nov 20, 2018 11:41:35 AM (6 years ago)
Author:
vboxsync
Message:

Main/DHCPD: bugref:9288 Use new implementation of DHCP server (VCC 10 and GCC 4.4.4 support).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/Dhcpd/VBoxNetDhcpd.cpp

    r75569 r75614  
    448448                                                     i, cSegs,
    449449                                                     &cbSegFrame);
    450                 ifInput(pvSegFrame, cbFrame);
     450                ifInput(pvSegFrame, (uint32_t)cbFrame);
    451451            }
    452452        }
     
    738738
    739739    unique_ptr_pbuf q ( pbuf_alloc(PBUF_RAW, (u16_t)data.size(), PBUF_RAM) );
    740     if (q == NULL)
    741         return;
    742 
    743     error = pbuf_take(q.get(), &data.front(), data.size());
     740    if (!q)
     741        return;
     742
     743    error = pbuf_take(q.get(), &data.front(), (u16_t)data.size());
    744744    if (error != ERR_OK)
    745745        return;
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