util: Fix a signed/unsigned comparison
commitd8f1d267cde21b75dd8652a0d5c98cf0890e1996
authorMartin Schwenke <martin@meltin.net>
Thu, 7 May 2020 07:14:34 +0000 (7 17:14 +1000)
committerVolker Lendecke <vl@samba.org>
Thu, 16 Jul 2020 04:00:52 +0000 (16 04:00 +0000)
treed493a714e24826cb0a9f50fd73539f9f96976c3b
parentcfd34eef58577480ff546df44a210c8b98936387
util: Fix a signed/unsigned comparison

[107/390] Compiling lib/util/time.c
../../../lib/util/time.c: In function ‘timespec_string_buf’:
../../../lib/util/time.c:416:10: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
  416 |  if (len == -1) {
      |          ^~

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Thu Jul 16 04:00:52 UTC 2020 on sn-devel-184
lib/util/time.c