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

warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t’

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.2.6
    • 10.2.7
    • Compiling
    • Debian 8.8 x32 - Digitalocean

       # uname -a
      Linux framework 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) i686 GNU/Linux

    Description

      [ 42%] Building C object libmariadb/unittest/libmariadb/CMakeFiles/basic-t.dir/basic-t.c.o
      /var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/basic-t.c: In function ‘test_conc70’:
      /var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/basic-t.c:188:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t’ [-Wformat=]
      diag("Length: %ld", strlen(row[0]));
      ^
      /var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/basic-t.c: In function ‘test_conc68’:
      /var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/basic-t.c:246:3: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t’ [-Wformat=]
      diag("Length: %ld", strlen(row[0]));
      ^

      Attachments

        Activity

          People

            georg Georg Richter
            dertin Guillermo Céspedes Tabárez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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