Commit d55aad92 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

comdlg32: Use correct integral type.

parent 5e56ada9
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment