VirtualBox

Changeset 20257 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Jun 4, 2009 9:01:21 AM (16 years ago)
Author:
vboxsync
Message:

minor compiler warnings

Location:
trunk/src/VBox/Devices/Network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r20053 r20257  
    804804        slirp_set_dhcp_next_server(pThis->pNATState, pThis->pszNextServer);
    805805#ifdef VBOX_WITH_SLIRP_DNS_PROXY
    806         slirp_set_dhcp_dns_proxy(pThis->pNATState, fDNSProxy);
     806        slirp_set_dhcp_dns_proxy(pThis->pNATState, !!fDNSProxy);
    807807#endif
    808808
  • trunk/src/VBox/Devices/Network/slirp/ip_icmp.c

    r19857 r20257  
    104104                                    GetProcAddress(pData->hmIcmpLibrary, "IcmpCloseHandle");
    105105# ifdef VBOX_WITH_MULTI_DNS
    106         pData->pfGetAdaptersAddresses = (ULONG (WINAPI *)(HANDLE))
     106        pData->pfGetAdaptersAddresses = (ULONG (WINAPI *)(ULONG, ULONG, PVOID, PIP_ADAPTER_ADDRESSES, PULONG))
    107107                                    GetProcAddress(pData->hmIcmpLibrary, "GetAdaptersAddresses");
    108108        if (pData->pfGetAdaptersAddresses == NULL)
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