From: Jérémie Galarneau Date: Tue, 6 Mar 2018 15:58:58 +0000 (-0500) Subject: Clean-up: remove unneeded cast X-Git-Tag: v2.11.0-rc1~365 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=86f90fb1729cbaf66f4a4d7970ce12a96dd03a7e;p=lttng-tools.git Clean-up: remove unneeded cast Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/consumer.c b/src/bin/lttng-sessiond/consumer.c index 31f704345..473573092 100644 --- a/src/bin/lttng-sessiond/consumer.c +++ b/src/bin/lttng-sessiond/consumer.c @@ -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();