From fde72e50fc280e583b8aec13b4d4af3bd1d205e5 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Mon, 8 Jul 2024 17:27:59 +0200 Subject: removed unneeded headers; fixed some warnings --- src/base64.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/base64.c') diff --git a/src/base64.c b/src/base64.c index fca31c9..52725f3 100644 --- a/src/base64.c +++ b/src/base64.c @@ -1,7 +1,5 @@ #include "base64.h" -#include "str.h" - static char *b64alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; #define B64PAD '=' @@ -95,7 +93,7 @@ int b64decode(const unsigned char *in, int l, stralloc *out) int b64encode(stralloc *in, stralloc *out) { unsigned char a, b, c; - int i; + size_t i; char *s; if (in->len == 0) { -- cgit v1.2.3