From 859b5d3d079bdcc2022ed34d027a733d88ef2f12 Mon Sep 17 00:00:00 2001 From: kichik Date: Tue, 21 Jan 2014 06:59:51 +0000 Subject: [PATCH] those are not available on mingw for whatever reason... git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6426 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Makensisw/toolbar.cpp | 6 +++--- Contrib/Makensisw/utils.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Contrib/Makensisw/toolbar.cpp b/Contrib/Makensisw/toolbar.cpp index 43f9a59a..d47f2790 100644 --- a/Contrib/Makensisw/toolbar.cpp +++ b/Contrib/Makensisw/toolbar.cpp @@ -33,9 +33,9 @@ extern NTOOLTIP g_tip; typedef struct { BYTE Style, State; - UINT8 ImgIdx; - UINT8 TTip; - UINT16 CmdId; + BYTE ImgIdx; + BYTE TTip; + WORD CmdId; } TBBTNDESC; #define MKNAMEDTBBTNDESC(id, sta, sty) sty, sta, IDB_##id, IDS_##id, IDM_##id diff --git a/Contrib/Makensisw/utils.cpp b/Contrib/Makensisw/utils.cpp index 23e1d2b6..ee9dd1a9 100644 --- a/Contrib/Makensisw/utils.cpp +++ b/Contrib/Makensisw/utils.cpp @@ -27,7 +27,7 @@ #include "toolbar.h" #include -typedef UINT8 PACKEDCMDID_T; +typedef BYTE PACKEDCMDID_T; #define PACKCMDID(id) ( PACKEDCMDID_T((id) - IDM_CMDBASE) ) #define UNPACKCMDID(id) ( IDM_CMDBASE + (id) )