You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/02/01 04:50:00 UTC
[jira] [Assigned] (THRIFT-4745) warning C4305: 'initializing' :
truncation from '"__int64' to 'long'
[ https://issues.apache.org/jira/browse/THRIFT-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III reassigned THRIFT-4745:
-----------------------------------------
Assignee: James E. King III
> 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)