aboutsummaryrefslogtreecommitdiff
path: root/b32.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-11 16:31:26 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-11 16:31:26 +0200
commit8267c5776673dcdb95fe65621b38b535919b6899 (patch)
treeac6e372e57597afbae80e936bedc29037a548a96 /b32.c
parentbee8deb5bc561fb694e32c04676933d53772ac3c (diff)
Make ‘pad’ unsigned
Diffstat (limited to 'b32.c')
-rw-r--r--b32.c2
1 files changed, 1 insertions, 1 deletions
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] == '=') {