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 --- plugins/PasteIt/src/PasteToWeb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/PasteIt/src') diff --git a/plugins/PasteIt/src/PasteToWeb.cpp b/plugins/PasteIt/src/PasteToWeb.cpp index 738394efdf..a819d2ef66 100644 --- a/plugins/PasteIt/src/PasteToWeb.cpp +++ b/plugins/PasteIt/src/PasteToWeb.cpp @@ -259,7 +259,7 @@ void PasteToWeb::FromClipboard() isFile = 1; if (df->fWide) { // Unicode - wchar_t* file = (wchar_t*)((BYTE*)obj + df->pFiles); + wchar_t* file = (wchar_t*)((uint8_t*)obj + df->pFiles); size_t len = mir_wstrlen(file); if (*(file + len + 1) == L'\0') { str.append(file, file + len); -- cgit v1.2.3