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

compiler warning about implicit conversion in QString

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Duplicate
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      /Users/alexandr/Tools/qt/5.15.2/ios/include/QtCore/qstring.h:2033: warning: implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int' [-Wshorten-64-to-32]
      ../../../../Tools/qt/5.15.2/ios/include/QtCore/qstring.h:2033:59: warning: implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int' [-Wshorten-64-to-32]
      { return QString::localeAwareCompare_helper(s1.data(), s1.size(), s2.data(), s2.size()); }
       ~~~~~~~ ~~~^~~~~~
      

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              thiago Thiago Macieira
              Reporter:
              bogong Alexandr KIRILOV
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes