logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/
commit: 973ec0b44f5079cfefae84abb25f5b4b42bf693e
parent 2261cbe1a2a4c734e79f8294e46e35b0bc17d0dd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 29 Nov 2025 18:18:09 +0100

cmd/base64: fix sign-comparison warning

Diffstat:

Mcmd/base64.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/base64.c b/cmd/base64.c @@ -22,7 +22,7 @@ // 64(26+26+10+2) + NULL static const char *b64_encmap = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; -static size_t c_out = 0; +static long c_out = 0; // 76 is lowest of all base64 related RFCs static long wrap_nl = 76; const char *argv0 = "base64";