[Git][NTPsec/ntpsec][master] ntp_control: ctl_putrefid(): fix a sign warning.
Gary E. Miller
gitlab at mg.gitlab.com
Thu Jan 31 00:37:05 UTC 2019
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
efd64e03 by Gary E. Miller at 2019-01-31T00:36:33Z
ntp_control: ctl_putrefid(): fix a sign warning.
- - - - -
1 changed file:
- ntpd/ntp_control.c
Changes:
=====================================
ntpd/ntp_control.c
=====================================
@@ -1407,7 +1407,7 @@ ctl_putrefid(
char output[16];
char buf[sizeof(refid) + 1];
char * cp;
- int i;
+ unsigned int i;
strlcpy(output, tag, sizeof(output));
strlcat(output, "=", sizeof(output));
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/efd64e03feddf568eabc4143549aaa3945b52943
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/efd64e03feddf568eabc4143549aaa3945b52943
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/20190131/649d53fe/attachment.html>
More information about the vc
mailing list