comdlg32: 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-01-27 10:17:53 +01:00 committed by Alexandre Julliard
parent 5e56ada9c4
commit d55aad928b
1 changed files with 4 additions and 3 deletions

View File

@ -393,7 +393,8 @@ static void fill_filename_from_selection(FileDialogImpl *This)
IShellItem *psi;
LPWSTR *names;
HRESULT hr;
UINT item_count, valid_count;
DWORD item_count;
UINT valid_count;
UINT len_total, i;
if(!This->psia_selection)
@ -412,7 +413,7 @@ static void fill_filename_from_selection(FileDialogImpl *This)
hr = IShellItemArray_GetItemAt(This->psia_selection, i, &psi);
if(SUCCEEDED(hr))
{
UINT attr;
DWORD attr;
hr = IShellItem_GetAttributes(psi, SFGAO_FOLDER, &attr);
if(SUCCEEDED(hr) &&
@ -2675,7 +2676,7 @@ static HRESULT WINAPI IFileDialog2_fnGetResult(IFileDialog2 *iface, IShellItem *
if(This->psia_results)
{
UINT item_count;
DWORD item_count;
hr = IShellItemArray_GetCount(This->psia_results, &item_count);
if(SUCCEEDED(hr))
{