[MDEV-13210] warning: comparison between signed and unsigned integer expressions Created: 2017-06-29  Updated: 2017-07-05  Resolved: 2017-07-05

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.2.6
Fix Version/s: 10.2.7

Type: Bug Priority: Minor
Reporter: Guillermo Céspedes Tabárez Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: compile, warning
Environment:

Debian 8.8 x32 - Digitalocean

  1. 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)
^



 Comments   
Comment by Elena Stepanova [ 2017-07-03 ]

Can be seen in buildbot
http://buildbot.askmonty.org/buildbot/builders/kvm-deb-jessie-x86/builds/2482/steps/compile/logs/warnings%20%2856%29

Generated at Thu Feb 08 08:03:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.