harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r722947 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/OSNetworkSystem.c
Date Wed, 03 Dec 2008 16:05:49 GMT
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;



Mime
View raw message