From 8267c5776673dcdb95fe65621b38b535919b6899 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 11 Aug 2023 16:31:26 +0200 Subject: Make ‘pad’ unsigned MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- b32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'b32.c') diff --git a/b32.c b/b32.c index 84810e3..a116769 100644 --- a/b32.c +++ b/b32.c @@ -25,7 +25,7 @@ bool b32toa(char *dst, const char *src, size_t len) { char c; - int pad = 0; + size_t pad = 0; uint8_t vs[8]; while (src[len - 1 - pad] == '=') { -- cgit v1.2.3