Eric Pouech : comdlg32: Use correct integral type.
Alexandre Julliard
julliard at winehq.org
Thu Jan 27 15:36:16 CST 2022
Module: wine
Branch: master
Commit: d55aad928bb658126c745c60ae8bd9773f5834c8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d55aad928bb658126c745c60ae8bd9773f5834c8
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Thu Jan 27 10:17:53 2022 +0100
comdlg32: Use correct integral type.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/comdlg32/itemdlg.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c
index d6957d51a66..603d48876c0 100644
--- a/dlls/comdlg32/itemdlg.c
+++ b/dlls/comdlg32/itemdlg.c
@@ -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))
{
More information about the wine-cvs
mailing list