From 336cf502704b586f4f516f2d756e175ffa98a57a Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 11 Jun 2007 11:25:36 +0000 Subject: Fixing base64 a bit - definition troubles, and padding. --- include/Base64.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/Base64.h b/include/Base64.h index f080ed8..9cfdf12 100644 --- a/include/Base64.h +++ b/include/Base64.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Base64.h,v 1.2 2007-05-30 11:57:08 pixel Exp $ */ +/* $Id: Base64.h,v 1.3 2007-06-11 11:25:36 pixel Exp $ */ #ifndef __BASE64_H__ #define __BASE64_H__ @@ -26,7 +26,7 @@ class Base64 : public Base { public: - static String encode(char * data, int len); + static String encode(const char * data, int len); static unsigned char * decode(const String & str_in, int * len_out); private: -- cgit v1.2.3