[Git][NTPsec/ntpsec][master] Fix compiler warning

Hal Murray gitlab at mg.gitlab.com
Thu Jan 21 07:39:10 UTC 2016


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
22fc2d65 by Hal Murray at 2016-01-20T23:38:40-08:00
Fix compiler warning

- - - - -


1 changed file:

- libntp/a_md5encrypt.c


Changes:

=====================================
libntp/a_md5encrypt.c
=====================================
--- a/libntp/a_md5encrypt.c
+++ b/libntp/a_md5encrypt.c
@@ -27,7 +27,7 @@ static bool ctmemeq(const void *s1, const void *s2, size_t n) {
 	const uint8_t *a = s1;
 	const uint8_t *b = s2;
 	uint8_t accum = 0;
-        ptrdiff_t i;
+        size_t i;
 
 	for(i=0; i<n; i++) {
 		accum |= a[i] ^ b[i];



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/22fc2d65318a04587bac6cca98cae9a2173a430b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160121/2cb7a612/attachment.html>


More information about the vc mailing list