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/BasicHistory/src/Options.cpp | 2 +- plugins/BasicHistory/src/RichHtmlExport.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/BasicHistory/src') diff --git a/plugins/BasicHistory/src/Options.cpp b/plugins/BasicHistory/src/Options.cpp index 8e97f38438..f434dab93d 100644 --- a/plugins/BasicHistory/src/Options.cpp +++ b/plugins/BasicHistory/src/Options.cpp @@ -156,7 +156,7 @@ struct FontOptionsList wchar_t* szDescr; COLORREF defColour; wchar_t* szDefFace; - BYTE defStyle; + uint8_t defStyle; char defSize; wchar_t* szBackgroundName; DWORD flags; diff --git a/plugins/BasicHistory/src/RichHtmlExport.cpp b/plugins/BasicHistory/src/RichHtmlExport.cpp index dc712cc1f2..d4322abac6 100644 --- a/plugins/BasicHistory/src/RichHtmlExport.cpp +++ b/plugins/BasicHistory/src/RichHtmlExport.cpp @@ -143,10 +143,10 @@ void ExtractFile(short int iRes, const std::wstring &fileName) #pragma pack(push, 2) typedef struct { - BYTE bWidth; // Width, in pixels, of the image - BYTE bHeight; // Height, in pixels, of the image - BYTE bColorCount; // Number of colors in image (0 if >=8bpp) - BYTE bReserved; // Reserved ( must be 0) + uint8_t bWidth; // Width, in pixels, of the image + uint8_t bHeight; // Height, in pixels, of the image + uint8_t bColorCount; // Number of colors in image (0 if >=8bpp) + uint8_t bReserved; // Reserved ( must be 0) WORD wPlanes; // Color Planes WORD wBitCount; // Bits per pixel DWORD dwBytesInRes; // How many bytes in this resource? -- cgit v1.2.3