summaryrefslogtreecommitdiff
path: root/src/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base64.c')
-rw-r--r--src/base64.c4
1 files changed, 1 insertions, 3 deletions
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) {