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

compiler warning about implicit conversion in QString

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.15.2
    • None
    • 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

              thiago Thiago Macieira
              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