mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
490282cb9d
- Fix build on 4.x PR: ports/63269 Submitted by: maintainer
12 lines
378 B
Diff
12 lines
378 B
Diff
--- src/results.cc.orig Mon Feb 23 15:15:59 2004
|
|
+++ src/results.cc Mon Feb 23 15:30:54 2004
|
|
@@ -427,7 +427,7 @@
|
|
#ifdef GETHOSTBYADDR_ACCEPTS_CHAR
|
|
he = gethostbyaddr (reinterpret_cast<char*>(&in), sizeof (in), AF_INET);
|
|
#else
|
|
-#error Type of first argument to gethostbyaddr() is not known.
|
|
+ he = gethostbyaddr ((const char*)(&in), sizeof (in), AF_INET);
|
|
#endif
|
|
#endif
|
|
|