Clean-up: remove unneeded cast
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 6 Mar 2018 15:58:58 +0000 (10:58 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 6 Mar 2018 15:59:37 +0000 (10:59 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/consumer.c

index 31f70434534cf56b3fd173242c1e5f3831e8c367..47357309246becaea233fdc068906a9cd99bdd27 100644 (file)
@@ -1611,7 +1611,7 @@ int consumer_mkdir(struct consumer_socket *socket, uint64_t session_id,
        if (output->type == CONSUMER_DST_NET) {
                msg.u.mkdir.relayd_id = output->net_seq_index;
        } else {
-               msg.u.mkdir.relayd_id = (uint64_t) -1ULL;
+               msg.u.mkdir.relayd_id = -1ULL;
        }
 
        health_code_update();
This page took 0.02681 seconds and 4 git commands to generate.