aboutsummaryrefslogtreecommitdiffstats
path: root/base64.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-03-15 17:05:25 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-03-15 17:05:25 +0000
commitc3e52ea6ca3178b7ecab4b389a9ba9269662b48f (patch)
tree92010dbf827948300ec59549600f86eac09ca9b0 /base64.c
parent10ad1196e3f7f240a231e91d7cb2a612da3d6b4e (diff)
downloadfetchmail-c3e52ea6ca3178b7ecab4b389a9ba9269662b48f.tar.gz
fetchmail-c3e52ea6ca3178b7ecab4b389a9ba9269662b48f.tar.bz2
fetchmail-c3e52ea6ca3178b7ecab4b389a9ba9269662b48f.zip
Further cleanups to compile with C++ compiler.
svn path=/branches/BRANCH_6-3/; revision=4744
Diffstat (limited to 'base64.c')
-rw-r--r--base64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/base64.c b/base64.c
index 4fd9a30c..1453257b 100644
--- a/base64.c
+++ b/base64.c
@@ -30,7 +30,7 @@ static const char base64val[] = {
void to64frombits(char *out, const void *in_, int inlen)
/* raw bytes in quasi-big-endian order to base 64 string (NUL-terminated) */
{
- const unsigned char *in = in_;
+ const unsigned char *in = (const unsigned char *)in_;
for (; inlen >= 3; inlen -= 3)
{
@@ -61,7 +61,7 @@ int from64tobits(void *out_, const char *in, int maxlen)
{
int len = 0;
register unsigned char digit1, digit2, digit3, digit4;
- unsigned char *out = out_;
+ unsigned char *out = (unsigned char *)out_;
if (in[0] == '+' && in[1] == ' ')
in += 2;