You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2019/01/20 11:35:00 UTC
[jira] [Created] (THRIFT-4745) warning C4305: 'initializing' :
truncation from '"__int64' to 'long'
Jens Geyer created THRIFT-4745:
----------------------------------
Summary: 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
Reporter: Jens Geyer
{code}
// largest consecutive integer representable by a double (2 ^ 53 - 1)
{color:#0000ff}static{color} {color:#0000ff}const{color} {color:#0000ff}long{color} 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)