From 6f04e4ca46e6f2dcd3eda63529a1bbd915f7676b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 28 Dec 2018 03:02:57 +0100 Subject: clang-tidy fixes only Maybe global `-Wcomma' is too harsh. There should be no functional changes whatsoever. --- proto-udp/ftnoir_protocol_ftn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto-udp') diff --git a/proto-udp/ftnoir_protocol_ftn.cpp b/proto-udp/ftnoir_protocol_ftn.cpp index 4d57140f..0eb79954 100644 --- a/proto-udp/ftnoir_protocol_ftn.cpp +++ b/proto-udp/ftnoir_protocol_ftn.cpp @@ -27,7 +27,7 @@ void udp::pose(const double *headpose) { void udp::set_dest_address() { - dest_port = s.port; + dest_port = (unsigned short)s.port; dest_ip = QHostAddress((s.ip1.to() & 0xff) << 24 | (s.ip2.to() & 0xff) << 16 | (s.ip3.to() & 0xff) << 8 | -- cgit v1.2.3