harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Pervov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5610) [drlvm][classloader] using size_t type instead of int for x86_64 compatibility
Date Mon, 17 Mar 2008 09:31:24 GMT

    [ 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:


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.

View raw message