summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBrent Eagles <brent@zeroc.com>2006-06-21 12:57:13 +0000
committerBrent Eagles <brent@zeroc.com>2006-06-21 12:57:13 +0000
commit0eb3afe5890c3ccdd7aed0455462ae17e3466879 (patch)
tree24d6e260d3a37d1af1f7bb1265183b0ab7f309d0 /cpp/src
parentfix type compatibility issue on 64 bit platforms (diff)
downloadice-0eb3afe5890c3ccdd7aed0455462ae17e3466879.tar.bz2
ice-0eb3afe5890c3ccdd7aed0455462ae17e3466879.tar.xz
ice-0eb3afe5890c3ccdd7aed0455462ae17e3466879.zip
fix 64 bit issue with name resultions on sun
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/Network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp
index fff635e1f13..f341f3b79de 100644
--- a/cpp/src/Ice/Network.cpp
+++ b/cpp/src/Ice/Network.cpp
@@ -28,7 +28,7 @@ using namespace Ice;
using namespace IceInternal;
#ifdef __sun
-# define INADDR_NONE (unsigned long)-1
+# define INADDR_NONE (in_addr_t)0xffffffff
#endif
static IceUtil::StaticMutex inetMutex = ICE_STATIC_MUTEX_INITIALIZER;