aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-05-05 09:04:10 +0000
committerAndreas Schneider <mail@cynapses.org>2009-05-05 09:04:10 +0000
commit184b711a0471c23a45ffd2a25e41c5164e7dc43a (patch)
tree45655cbaaa48faed8be89b855844371d03948b95 /libssh
parent5708fe172991ae4440e3ab2cb3b4a25f2030410b (diff)
downloadlibssh-184b711a0471c23a45ffd2a25e41c5164e7dc43a.tar.gz
libssh-184b711a0471c23a45ffd2a25e41c5164e7dc43a.tar.xz
libssh-184b711a0471c23a45ffd2a25e41c5164e7dc43a.zip
Fix the prototype.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@738 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh')
-rw-r--r--libssh/base64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/base64.c b/libssh/base64.c
index a26c555..15636d7 100644
--- a/libssh/base64.c
+++ b/libssh/base64.c
@@ -42,7 +42,7 @@ static char alphabet[]="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
#define GET_B(n) ((n & 0xff00) >> 8)
#define GET_C(n) (n & 0xff)
-static int _base64_to_bin(unsigned char dest[3], char *source,int num);
+static int _base64_to_bin(unsigned char dest[3], const char *source, int num);
static int get_equals(char *string);
/* First part: base64 to binary */