[Git][NTPsec/ntpsec][master] Suppress another useless warning.

Eric S. Raymond gitlab at mg.gitlab.com
Thu Sep 7 15:14:28 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
309cf814 by Eric S. Raymond at 2017-09-07T11:14:09-04:00
Suppress another useless warning.

- - - - -


1 changed file:

- ntpd/ntp_io.c


Changes:

=====================================
ntpd/ntp_io.c
=====================================
--- a/ntpd/ntp_io.c
+++ b/ntpd/ntp_io.c
@@ -3283,6 +3283,7 @@ process_routing_msgs(struct asyncio_reader *reader)
 	for (nh = (struct nlmsghdr *)buffer;
 	     /* Avoid a sign comparison warning on some Linux distributions */
 	     NLMSG_OK(nh, (unsigned) cnt);
+#pragma GCC diagnostic ignored "-Wsign-conversion"
 	     nh = NLMSG_NEXT(nh, cnt)) {
 		msg_type = nh->nlmsg_type;
 #else



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/309cf814899cfee982bb99df4c49aa879d385f6a

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/309cf814899cfee982bb99df4c49aa879d385f6a
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170907/13a4986f/attachment.html>


More information about the vc mailing list