[ https://issues.apache.org/jira/browse/THRIFT-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16757962#comment-16757962 ]
James E. King III commented on THRIFT-4745: ------------------------------------------- I fixed this issue as part of a couple other warnings in my THRIFT-4405 travels. > warning C4305: 'initializing' : truncation from '"__int64' to 'long' > -------------------------------------------------------------------- > > Key: THRIFT-4745 > URL: https://issues.apache.org/jira/browse/THRIFT-4745 > Project: Thrift > Issue Type: Bug > Components: JavaScript - Compiler > Environment: Visual Studio 2017 > Reporter: Jens Geyer > Assignee: James E. King III > Priority: Major > > {code} > // largest consecutive integer representable by a double (2 ^ 53 - 1) > static const long max_safe_integer = 0x1fffffffffffff; > {code} > Raises > {code}warning C4305: 'initializing' : truncation from '"__int64' to > 'long'{code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)