[
https://issues.apache.org/jira/browse/THRIFT-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Spiridon Eliopoulos updated THRIFT-385:
---------------------------------------
Attachment: 0001-THRIFT-385.-haskell-Fixed-bug-in-Int64-and-Double.patch
patch to fix this bug
> 64-bit integer and double types incorrectly serialized on 32-bit platforms
> --------------------------------------------------------------------------
>
> Key: THRIFT-385
> URL: https://issues.apache.org/jira/browse/THRIFT-385
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (Haskell)
> Environment: Mac OS X Leopard
> Reporter: Spiridon Eliopoulos
> Assignee: Spiridon Eliopoulos
> Priority: Minor
> Attachments:
> 0001-THRIFT-385.-haskell-Fixed-bug-in-Int64-and-Double.patch
>
>
> The type currently being used for the 64-bit integer type is Int. On 32-bit
> platforms, this type only contains 32 bits and so 64-bit integers are being
> truncated before they're sent over the wire. In addition, serialization for
> the double type is being offloaded to the 64-bit integer type, and is
> therefore being truncated as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.