From 184b711a0471c23a45ffd2a25e41c5164e7dc43a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 5 May 2009 09:04:10 +0000 Subject: Fix the prototype. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@738 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/base64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libssh/base64.c b/libssh/base64.c index a26c5557..15636d73 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 */ -- cgit v1.2.3