Ignore:
Timestamp:
Dec 8, 2011, 2:32:54 PM (14 years ago)
Author:
dmik
Message:

Port WSOCK32 and IPHLPAPI to GCC/kBuild.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/wsock32/wsock32.cpp

    r21456 r21865  
    10391039//******************************************************************************
    10401040//******************************************************************************
    1041 char *debugsockopt(int optname)
     1041const char *debugsockopt(int optname)
    10421042{
    10431043    switch(optname) {
     
    17321732
    17331733                    localhost_address       = *(unsigned long *)&addr->sin_addr;
    1734                     localhost.h_name        = "localhost"; /* This is what the old workaround did. */
     1734                    localhost.h_name        = (char *)"localhost"; /* This is what the old workaround did. */
    17351735                    localhost.h_addrtype    = AF_INET;
    17361736                    localhost.h_length      = 4;
Note: See TracChangeset for help on using the changeset viewer.