Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4745

warning C4305: 'initializing' : truncation from '"__int64' to 'long'

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: JavaScript - Compiler
    • Labels:
      None
    • Environment:

      Visual Studio 2017

      Description

      // largest consecutive integer representable by a double (2 ^ 53 - 1)
      static const long max_safe_integer = 0x1fffffffffffff;
      

      Raises

      warning C4305: 'initializing' : truncation from '"__int64' to 'long'

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              jking3 James E. King III
              Reporter:
              jensg Jens Geyer

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment