[Git][NTPsec/ntpsec][master] Fix a warning found by clang.
Eric S. Raymond
gitlab at mg.gitlab.com
Wed Feb 15 01:28:34 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
960496f6 by Eric S. Raymond at 2017-02-14T20:28:18-05:00
Fix a warning found by clang.
- - - - -
1 changed file:
- libparse/binio.c
Changes:
=====================================
libparse/binio.c
=====================================
--- a/libparse/binio.c
+++ b/libparse/binio.c
@@ -89,7 +89,7 @@ get_msb_long(
{
long retval;
- retval = (unsigned long)*((*bufpp)++) << 24;
+ retval = (long)*((*bufpp)++) << 24;
retval |= *((*bufpp)++) << 16;
retval |= *((*bufpp)++) << 8;
retval |= *((*bufpp)++);
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/960496f6b7ef1975fa8fb125840a0deafdee1a0f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170215/acf7dc70/attachment.html>
More information about the vc
mailing list