Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-35954

mysql_file.h cast warnings

    XMLWordPrintable

Details

    Description

      Fix warnings like the following as they occur on mac:

      server/include/mysql/psi/mysql_file.h:1032:31: warning: implicit conversion loses integer precision: 'int' to 'mode_t' (aka 'unsigned short') [-Wimplicit-int-conversion]
       1032 |     file= my_create(filename, create_flags, access_flags, myFlags);
            |           ~~~~~~~~~           ^~~~~~~~~~~~
      

      Attachments

        Activity

          People

            Gosselin Dave Gosselin
            Gosselin Dave Gosselin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.25h
                0.25h

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.