Lines 1-11
Link Here
|
1 |
--- src/results.cc.orig Fri Oct 31 13:41:03 2003 |
|
|
2 |
+++ src/results.cc Tue Nov 4 09:29:05 2003 |
3 |
@@ -392,7 +392,7 @@ |
4 |
#ifdef GETHOSTBYADDR_ACCEPTS_CHAR |
5 |
he = gethostbyaddr (reinterpret_cast<char*>(&in), sizeof (in), AF_INET); |
6 |
#else |
7 |
-#error Type of first argument to gethostbyaddr() is not known. |
8 |
+ he = gethostbyaddr ((const char*)(&in), sizeof (in), AF_INET); |
9 |
#endif |
10 |
#endif |
11 |
|