summaryrefslogtreecommitdiff
path: root/plugins/Exchange
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 15:58:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 15:58:40 +0300
commitfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (patch)
tree8807aea6f2afce38b30ce60aa5ebf84a26992b73 /plugins/Exchange
parentaf2958f2e82cb68392983da6f7f69fa3cd0c5276 (diff)
PBYTE -> uint8_t*
Diffstat (limited to 'plugins/Exchange')
-rw-r--r--plugins/Exchange/src/utils.cpp2
-rw-r--r--plugins/Exchange/src/utils.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Exchange/src/utils.cpp b/plugins/Exchange/src/utils.cpp
index a4f7efb340..9b35b8700f 100644
--- a/plugins/Exchange/src/utils.cpp
+++ b/plugins/Exchange/src/utils.cpp
@@ -82,7 +82,7 @@ int Info(char *title, char *format, ...)
#define HEX_SIZE 8
-char *BinToHex(int size, PBYTE data)
+char *BinToHex(int size, uint8_t *data)
{
char *szresult = nullptr;
int maxSize = size * 2 + HEX_SIZE + 1;
diff --git a/plugins/Exchange/src/utils.h b/plugins/Exchange/src/utils.h
index 8e3b63aa0c..a25ac22feb 100644
--- a/plugins/Exchange/src/utils.h
+++ b/plugins/Exchange/src/utils.h
@@ -33,8 +33,8 @@ int LogInit();
int Log(char *format, ...);
int Info(char *title, char *format, ...);
-char *BinToHex(int size, PBYTE data);
-void HexToBin(wchar_t *inData, ULONG &size, PBYTE &outData);
+char *BinToHex(int size, uint8_t *data);
+void HexToBin(wchar_t *inData, ULONG &size, uint8_t *&outData);
void ScreenToClient(HWND hWnd, LPRECT rect);