[
https://issues.apache.org/jira/browse/THRIFT-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211228#comment-15211228
]
ASF GitHub Bot commented on THRIFT-3763:
----------------------------------------
GitHub user nsuke opened a pull request:
https://github.com/apache/thrift/pull/968
THRIFT-3763 Fix serialization of i64 larger than 2^53 for browserify
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nsuke/thrift THRIFT-3763
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/968.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #968
----
commit 39ecd22d7ae87ff2783928c0b26816a8128ad49d
Author: Nobuaki Sukegawa <[email protected]>
Date: 2016-03-25T00:49:39Z
THRIFT-3763 Fix serialization of i64 larger than 2^53 for browserify
----
> Fix serialization of i64 larger than 2^53 for browserify
> --------------------------------------------------------
>
> Key: THRIFT-3763
> URL: https://issues.apache.org/jira/browse/THRIFT-3763
> Project: Thrift
> Issue Type: Bug
> Components: Node.js - Library
> Environment: browserify 13.0.0
> Reporter: Aki Sukegawa
> Assignee: Aki Sukegawa
>
> Apparently, storing negative value to Buffer works for node but not for
> browserify.
> Forcing positive value by (& 0xff) before storing fixed the problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)