From 2e4eabe3f4374beafed853978815d59f9de78f23 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Wed, 14 Oct 2015 21:07:19 -0500 Subject: [PATCH] fix comparison error --- .../library/soePlatform/VChatAPI/utils2.0/utils/Base/Base64.cpp | 2 +- .../library/soePlatform/VChatAPI/utils2.0/utils/Base/Base64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/Base64.cpp b/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/Base64.cpp index 40d5c384..efc420f3 100644 --- a/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/Base64.cpp +++ b/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/Base64.cpp @@ -168,7 +168,7 @@ namespace soe 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/VChatAPI/utils2.0/utils/Base/Base64.h b/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/Base64.h index ac450794..3a863587 100644 --- a/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/Base64.h +++ b/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/Base64.h @@ -13,7 +13,7 @@ namespace soe static bool UUEncode(const unsigned char *source, unsigned sourceLen, std::string &destString); static bool UUEncode(const std::vector &source, char *dest, unsigned destLen); static bool UUEncode(const std::vector &source, 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::vector &destVector); static bool UUDecode(const char *source, unsigned sourceLen, std::string &destString);