diff --git a/external/3rd/library/soePlatform/ChatAPI/utils/Base/Base64.cpp b/external/3rd/library/soePlatform/ChatAPI/utils/Base/Base64.cpp index f8d7d1cc..cfa25007 100644 --- a/external/3rd/library/soePlatform/ChatAPI/utils/Base/Base64.cpp +++ b/external/3rd/library/soePlatform/ChatAPI/utils/Base/Base64.cpp @@ -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; diff --git a/external/3rd/library/soePlatform/ChatAPI/utils/Base/Base64.h b/external/3rd/library/soePlatform/ChatAPI/utils/Base/Base64.h index 73542495..6f1d0858 100644 --- a/external/3rd/library/soePlatform/ChatAPI/utils/Base/Base64.h +++ b/external/3rd/library/soePlatform/ChatAPI/utils/Base/Base64.h @@ -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