]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-common: Align integer type
authorMartin Schwenke <mschwenke@ddn.com>
Sun, 16 Nov 2025 23:20:11 +0000 (10:20 +1100)
committerVolker Lendecke <vl@samba.org>
Mon, 9 Feb 2026 11:17:41 +0000 (11:17 +0000)
commitd2f93469d50916d355d718d48e83768af6997052
tree61a4631afe87822bff3ec84d947af54bbfe8fdd2
parent6b76a13b0861755b804aedb7a3ca009bda6e8478
ctdb-common: Align integer type

[132/416] Compiling ctdb/common/run_event.c
../../common/run_event.c: In function ‘run_event_fail’:
../../common/run_event.c:806:50: warning: comparison of integer expressions of different signedness: ‘id_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare]
  806 |         if (script->summary == -ETIMEDOUT && pid != -1) {
      |                                                  ^~

This is actually due to a typo in commit
20e9f203627752c4c1934e4bc0776e26c0dfb00e.  It should always have been
pid_t.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
ctdb/common/run_event.c