Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 35421 invoked from network); 17 Mar 2008 09:33:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2008 09:33:07 -0000 Received: (qmail 20280 invoked by uid 500); 17 Mar 2008 09:33:05 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 20259 invoked by uid 500); 17 Mar 2008 09:33:05 -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 20249 invoked by uid 99); 17 Mar 2008 09:33:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 02:33:05 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Mar 2008 09:32:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3FBEC234C09B for ; Mon, 17 Mar 2008 02:31:24 -0700 (PDT) Message-ID: <952092138.1205746284259.JavaMail.jira@brutus> Date: Mon, 17 Mar 2008 02:31:24 -0700 (PDT) From: "Pavel Pervov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-5610) [drlvm][classloader] using size_t type instead of int for x86_64 compatibility In-Reply-To: <16803674.1205522784375.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579360#action_12579360 ] Pavel Pervov commented on HARMONY-5610: --------------------------------------- Alexei, AFAIK, MAX_PATH is always lesser then MAX_INT. Key name length is also not expected to have length greater than MAX_INT. I see this patch as fixing warnings on x86-64 platforms, most probably Windows. Am I right? > [drlvm][classloader] using size_t type instead of int for x86_64 compatibility > ------------------------------------------------------------------------------ > > Key: HARMONY-5610 > URL: https://issues.apache.org/jira/browse/HARMONY-5610 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Alexei Fedotov > Attachments: classloader_size_t.patch > > > On 64-bit platforms size_t may be occasionally longer than int. It is safer to use size_t while working with size_t strlen() results. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.