Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-758

Remove compiler warnings about implicit int64_t casting

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      As part of the libmongoc 1.16.x vendoring update I needed to replace instances of the PRId64 macro, since Swift can't handle it. The easiest way to do this was to replace all instances with %lld, but that results in an implicit case of the int64_t to a long long. A smarter approach might be to add an explicit cast in the sed line, or something altogether different I hadn't considered in haste.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            matt.broadstone Matt Broadstone
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: