[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>
static void run_event_next_script(struct tevent_req *subreq);
static void run_event_fail(struct tevent_req *req,
struct run_event_script *script,
- id_t pid);
+ pid_t pid);
static void run_event_debug(struct tevent_req *req, pid_t pid);
static void run_event_debug_done(struct tevent_req *subreq);
static void run_event_fail(struct tevent_req *req,
struct run_event_script *script,
- id_t pid)
+ pid_t pid)
{
struct run_event_state *state = tevent_req_data(
req, struct run_event_state);