You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2008/12/03 17:05:49 UTC

svn commit: r722947 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.c

Author: tellison
Date: Wed Dec  3 08:05:49 2008
New Revision: 722947

URL: http://svn.apache.org/viewvc?rev=722947&view=rev
Log:
Make the length unsigned, as the Linux compiler is more picky when casting to a ptr.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.c?rev=722947&r1=722946&r2=722947&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.c Wed Dec  3 08:05:49 2008
@@ -515,7 +515,7 @@
 {
   PORT_ACCESS_FROM_ENV(env);
   U_8 nAddrBytes[HYSOCK_INADDR6_LEN];
-  I_32 length = 0;
+  U_32 length = 0;
   U_16 nPort;
   I_32 result;
   hysocket_t socketP;