Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112321

"Implicit conversion loses integer precision" compiler warning

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.5.0
    • 6.4.2, 6.4.3
    • Core: Other, GUI: Painting
    • None
    • macOS 13.2.1 on an Apple Silicon Mac.
      Xcode 14.2 targetting My Mac (Rosetta).

    • All
    • 030923c0def8b4c08fef2e1b865f30dd7287a907

      Using an Xcode project generated from a .pro file.

      /Users/user/Qt/6.4.3/macos/lib/QtGui.framework/Headers/qpixmap.h:167:79: warning: implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'uint' (aka 'unsigned int') [-Wshorten-64-to-32]
          return loadFromData(reinterpret_cast<const uchar *>(buf.constData()), buf.size(), format, flags);
                 ~~~~~~~~~~~~                                                   ~~~~^~~~~~
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            lidl Damian Lettie
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes