VirtualBox

Changeset 49299 in vbox for trunk


Ignore:
Timestamp:
Oct 28, 2013 2:33:57 AM (11 years ago)
Author:
vboxsync
Message:

On Windows getsockopt() takes char *, not void * - add cast to pacify compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/pxdns.c

    r49298 r49299  
    747747
    748748        status = getsockopt(fd, SOL_SOCKET,
    749                             SO_ERROR, &sockerr, &optlen);
     749                            SO_ERROR, (char *)&sockerr, &optlen);
    750750        if (status < 0) {
    751751            DPRINTF(("%s: sock %d: SO_ERROR failed with errno %d\n",
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