]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/gsocket.cpp
synthesize NM_RCLICK ourselves now that def window proc doesn't do it as we don't...
[wxWidgets.git] / src / unix / gsocket.cpp
index 8b59a145cb09e497a9d4637cc4ad675582dd1bd5..5ff4d214428cc22b18218132c17d600934ff3dc2 100644 (file)
@@ -1705,7 +1705,7 @@ GSocketError GAddress_INET_SetHostName(GAddress *address, const char *hostname)
   if (inet_aton(hostname, addr) == 0)
   {
 #elif defined(HAVE_INET_ADDR)
-  if ( (addr->s_addr = inet_addr(hostname)) == (in_addr_t)-1 )
+  if ( (addr->s_addr = inet_addr(hostname)) == (unsigned)-1 )
   {
 #else
   /* Use gethostbyname by default */