From 62a186697df33c96dc1a6dac0f4dfc38652fb96f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 16:39:04 +0300 Subject: BYTE -> uint8_t --- protocols/Facebook/src/http.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Facebook/src') diff --git a/protocols/Facebook/src/http.cpp b/protocols/Facebook/src/http.cpp index 52fe522779..6f8a079e6d 100644 --- a/protocols/Facebook/src/http.cpp +++ b/protocols/Facebook/src/http.cpp @@ -41,8 +41,8 @@ void AsyncHttpRequest::CalcSig() buf.Append(FB_API_SECRET); char szHash[33]; - BYTE digest[16]; - mir_md5_hash((BYTE*)buf.c_str(), buf.GetLength(), digest); + uint8_t digest[16]; + mir_md5_hash((uint8_t*)buf.c_str(), buf.GetLength(), digest); bin2hex(digest, sizeof(digest), szHash); this << CHAR_PARAM("sig", szHash); -- cgit v1.2.3