[ 
https://issues.apache.org/jira/browse/THRIFT-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683923#action_12683923
 ] 

Bryan Duxbury commented on THRIFT-385:
--------------------------------------

In principle, at least, I think this patch looks great. I have no practical 
knowledge of Haskell, though. Any Haskell people want to step up and +1 this 
issue? If not, I'll just commit it.

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

Reply via email to