From: Miroslav Lichvar Date: Mon, 22 Jun 2015 09:07:53 +0000 (+0200) Subject: ntp: remove unnecessary casting X-Git-Tag: 2.1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9b896d8e7dbdff1dc313ebcd5e00a42b3b12def;p=thirdparty%2Fchrony.git ntp: remove unnecessary casting --- diff --git a/ntp_core.c b/ntp_core.c index 80213cdc..103d7c1b 100644 --- a/ntp_core.c +++ b/ntp_core.c @@ -824,7 +824,7 @@ transmit_packet(NTP_Mode my_mode, /* The mode this machine wants to be */ message.root_delay = UTI_DoubleToInt32(our_root_delay); message.root_dispersion = UTI_DoubleToInt32(our_root_dispersion); - message.reference_id = htonl((NTP_int32) our_ref_id); + message.reference_id = htonl(our_ref_id); /* Now fill in timestamps */