summaryrefslogtreecommitdiff
path: root/plugins/Exchange
diff options
context:
space:
mode:
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);