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 16:15:00 UTC

[jira] [Resolved] (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 resolved THRIFT-4745.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.13.0

> 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
>             Fix For: 0.13.0
>
>
> {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)