Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 7759 invoked from network); 3 Dec 2008 16:06:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2008 16:06:10 -0000 Received: (qmail 68099 invoked by uid 500); 3 Dec 2008 16:06:22 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 68078 invoked by uid 500); 3 Dec 2008 16:06:22 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 68069 invoked by uid 99); 3 Dec 2008 16:06:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 08:06:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 16:05:02 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 069E3238898E; Wed, 3 Dec 2008 08:05:50 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@harmony.apache.org From: tellison@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081203160550.069E3238898E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;