You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Pervov (JIRA)" <ji...@apache.org> on 2008/03/17 10:31:24 UTC

[jira] Commented: (HARMONY-5610) [drlvm][classloader] using size_t type instead of int for x86_64 compatibility

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