]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
ntp: remove unnecessary casting
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 22 Jun 2015 09:07:53 +0000 (11:07 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 22 Jun 2015 10:54:33 +0000 (12:54 +0200)
ntp_core.c

index 80213cdc80828d3cfba28024df5bc5a829ebccc4..103d7c1b58dddeca6ba9f3de8ad5fbdcc8c7eb91 100644 (file)
@@ -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 */