[ffi] JRuby reports wrong size for long on Windows x64
------------------------------------------------------

                 Key: JRUBY-4361
                 URL: http://jira.codehaus.org/browse/JRUBY-4361
             Project: JRuby
          Issue Type: Bug
          Components: Extensions, Windows
    Affects Versions: JRuby 1.4
         Environment: latest jruby 1.5 dev
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov
             Fix For: JRuby 1.5


jruby -rffi -e "p FFI::TypeDefs[:long].size" ---> 8

Which is wrong for Windows x64, since Win64 is LLP64 and long should be 4 bytes 
long.

http://en.wikipedia.org/wiki/LLP64

Will fix.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to