fix comparison warn

This commit is contained in:
DarthArgus
2015-10-14 21:09:45 -05:00
parent d8349a9da8
commit 66683ba082
2 changed files with 2 additions and 2 deletions
@@ -170,7 +170,7 @@ namespace Base
return bytes;
}
bool Base64::UUDecode(const char *source, unsigned sourceLen, unsigned char *dest, unsigned *destLen)
bool Base64::UUDecode(const char *source, unsigned sourceLen, unsigned char *dest, int *destLen)
{
unsigned char q[3];
unsigned index;
@@ -15,7 +15,7 @@ namespace Base
public:
static bool UUEncode(const unsigned char *source, unsigned sourceLen, char *dest, unsigned destLen);
static bool UUEncode(const unsigned char *source, unsigned sourceLen, std::string &destString);
static bool UUDecode(const char *source, unsigned sourceLen, unsigned char *dest, unsigned *destLen);
static bool UUDecode(const char *source, unsigned sourceLen, unsigned char *dest, int *destLen);
static bool UUDecode(const char *source, unsigned sourceLen, std::string &destString);
// these don't *exactly* belong here, but it's a convenient place for them