comctl32/tests: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-24 11:26:47 +01:00 committed by Alexandre Julliard
parent 58d4037290
commit 330261b9b4
2 changed files with 2 additions and 2 deletions

View File

@ -1210,7 +1210,7 @@ static void test_wm_notify(void)
DONT_CONVERT_SEND | DONT_CONVERT_RECEIVE},
{&nmtbr, sizeof(nmtbr), NULL, 0, (WCHAR **)&nmtbr.tbButton.iString, NULL, TBN_RESTORE, TBN_RESTORE,
DONT_CONVERT_SEND | DONT_CONVERT_RECEIVE},
{&nmtbdi, sizeof(nmtbdi), &nmtbdi.dwMask, TBNF_TEXT, &nmtbdi.pszText, &nmtbdi.cchText, TBN_GETDISPINFOW,
{&nmtbdi, sizeof(nmtbdi), (UINT*)&nmtbdi.dwMask, TBNF_TEXT, &nmtbdi.pszText, &nmtbdi.cchText, TBN_GETDISPINFOW,
TBN_GETDISPINFOW, DONT_CONVERT_SEND | DONT_CONVERT_RECEIVE},
{&nmtb, sizeof(nmtb), NULL, 0, &nmtb.pszText, &nmtb.cchText, TBN_GETBUTTONINFOW, TBN_GETBUTTONINFOA,
SEND_EMPTY_IF_NULL | CONVERT_SEND | CONVERT_RECEIVE},

View File

@ -195,7 +195,7 @@ static int string_width(const CHAR *s) {
typedef struct {
RECT rc;
DWORD fStyle;
UINT fStyle;
UINT cx;
} rbband_result_t;