[Git][NTPsec/ntpsec][master] get_lsb_long(): whoops missed on file in last commit.
Gary E. Miller
gitlab at mg.gitlab.com
Fri Mar 10 22:52:25 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
2713ab1a by Gary E. Miller at 2017-03-10T14:51:52-08:00
get_lsb_long(): whoops missed on file in last commit.
- - - - -
1 changed file:
- libparse/binio.c
Changes:
=====================================
libparse/binio.c
=====================================
--- a/libparse/binio.c
+++ b/libparse/binio.c
@@ -32,8 +32,8 @@ put_lsb_short(
*((*bufpp)++) = (unsigned char) ((val >> 8) & 0xFF);
}
-long
-get_lsb_long(
+unsigned long
+get_lsb_ulong(
unsigned char **bufpp
)
{
@@ -44,7 +44,7 @@ get_lsb_long(
retval |= *((*bufpp)++) << 16;
retval |= *((*bufpp)++) << 24;
- return retval;
+ return (unsigned long)retval;
}
void
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/2713ab1acc9555f5fd7d8ece4f7da18a1c127a0c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170310/1cf79580/attachment.html>
More information about the vc
mailing list