harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5610) [drlvm][classloader] using size_t type instead of int for x86_64 compatibility
Date Tue, 18 Mar 2008 17:13:25 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexei Fedotov updated HARMONY-5610:
------------------------------------

    Attachment: classloader_size_t_1.patch

Pavel, here is an updated patch. With seven type casts it does not look as nice as before
to me, but this is just a question of personal taste.

> [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
>            Assignee: Pavel Pervov
>         Attachments: classloader_size_t.patch, classloader_size_t_1.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.


Mime
View raw message