summaryrefslogtreecommitdiff
path: root/ASNMP
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2003-10-08 07:08:19 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2003-10-08 07:08:19 +0000
commit10fe91e96508463c263b60e655c24c3e08a26fb6 (patch)
tree0f2ce49980be60c5cef6069658389c567b3aea45 /ASNMP
parent7f493e6604bce9791aaaf78295087966926b20ee (diff)
downloadATCD-10fe91e96508463c263b60e655c24c3e08a26fb6.tar.gz
ChangeLogTag: Wed Oct 08 07:08:11 UTC 2003 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ASNMP')
-rw-r--r--ASNMP/asnmp/address.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ASNMP/asnmp/address.cpp b/ASNMP/asnmp/address.cpp
index 7458ca8f93b..eea41707a15 100644
--- a/ASNMP/asnmp/address.cpp
+++ b/ASNMP/asnmp/address.cpp
@@ -656,7 +656,7 @@ Address_Iter::Address_Iter(const char *hostname): valid_(0), count_(0),
{
ACE_OS::memset(&buffer_, 0, sizeof(ACE_HOSTENT_DATA));
ACE_OS::memset(&lookupResult_, 0, sizeof(struct hostent));
- if (ACE_OS::inet_addr(hostname) == (in_addr_t) -1)
+ if (ACE_OS::inet_addr(hostname) == (unsigned long) -1)
valid_ = query_dns(hostname);
else {
ACE_ASSERT(0); // don't support dot-quad lookup yet