Module: wine Branch: master Commit: 555394b79c5e993e8155a7e0dce8bcea25db99fc URL: https://gitlab.winehq.org/wine/wine/-/commit/555394b79c5e993e8155a7e0dce8bce...
Author: Jacek Caban jacek@codeweavers.com Date: Wed Sep 13 12:16:03 2023 +0200
regedit: Use unsigned types for bitfields.
---
programs/regedit/hexedit.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/programs/regedit/hexedit.c b/programs/regedit/hexedit.c index d29c916918e..ac47b61dd6e 100644 --- a/programs/regedit/hexedit.c +++ b/programs/regedit/hexedit.c @@ -43,9 +43,9 @@ typedef struct tagHEXEDIT_INFO { HWND hwndSelf; HFONT hFont; - BOOL bFocus : 1; - BOOL bFocusHex : 1; /* TRUE if focus is on hex, FALSE if focus on ASCII */ - BOOL bInsert : 1; /* insert mode if TRUE, overwrite mode if FALSE */ + UINT bFocus : 1; + UINT bFocusHex : 1; /* TRUE if focus is on hex, FALSE if focus on ASCII */ + UINT bInsert : 1; /* insert mode if TRUE, overwrite mode if FALSE */ INT nHeight; /* height of text */ INT nCaretPos; /* caret pos in nibbles */ BYTE *pData;