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

warning: comparison between signed and unsigned integer expressions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.6
    • Fix Version/s: 10.2.7
    • Component/s: Compiling
    • Labels:
    • Environment:
      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

      MariaDB 10.2.6 - Installation script: https://gist.github.com/dertin/8de14e458dd4f0d3acb5f0deff120951

      1. ./install.sh

      [ 39%] Building C object libmariadb/libmariadb/CMakeFiles/mariadb_obj.dir/__/plugins/pvio/pvio_socket.c.o
      /var/tmp/mariadb_build/mariadb_src/libmariadb/plugins/pvio/pvio_socket.c: In function ‘pvio_socket_connect’:
      /var/tmp/mariadb_build/mariadb_src/libmariadb/plugins/pvio/pvio_socket.c:799:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if (time(NULL) - start_t > timeout)
      ^
      /var/tmp/mariadb_build/mariadb_src/libmariadb/plugins/pvio/pvio_socket.c:822:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if (time(NULL) - start_t > timeout)
      ^

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration