[master] f28417d18 Minor FlexeLinting
Poul-Henning Kamp
phk at FreeBSD.org
Mon Oct 21 16:19:06 UTC 2019
commit f28417d1803fca8d35db2c3bf7590109644ae048
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Oct 21 12:17:47 2019 +0000
Minor FlexeLinting
diff --git a/lib/libvmod_blob/hex.c b/lib/libvmod_blob/hex.c
index a06e3da22..6476308ae 100644
--- a/lib/libvmod_blob/hex.c
+++ b/lib/libvmod_blob/hex.c
@@ -82,7 +82,7 @@ hex_encode(const enum encoding enc, const enum case_e kase,
{
char *p = buf;
const char *alphabet = hex_alphabet[0];
- int i;
+ size_t i;
AN(buf);
assert(enc == HEX);
diff --git a/lib/libvmod_blob/url.c b/lib/libvmod_blob/url.c
index b038a556d..0134d3859 100644
--- a/lib/libvmod_blob/url.c
+++ b/lib/libvmod_blob/url.c
@@ -86,7 +86,7 @@ url_encode(const enum encoding enc, const enum case_e kase,
char *p = buf;
const char * const end = buf + buflen;
const char *alphabet = hex_alphabet[0];
- int i;
+ size_t i;
AN(buf);
assert(enc == URL);
More information about the varnish-commit
mailing list