Changeset 21865 for branches/gcc-kmk/src/wsock32/wsock32.cpp
- Timestamp:
- Dec 8, 2011, 2:32:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/wsock32/wsock32.cpp
r21456 r21865 1039 1039 //****************************************************************************** 1040 1040 //****************************************************************************** 1041 c har *debugsockopt(int optname)1041 const char *debugsockopt(int optname) 1042 1042 { 1043 1043 switch(optname) { … … 1732 1732 1733 1733 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. */ 1735 1735 localhost.h_addrtype = AF_INET; 1736 1736 localhost.h_length = 4;
Note:
See TracChangeset
for help on using the changeset viewer.