Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d55aad92
Commit
d55aad92
authored
Jan 27, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Jan 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Use correct integral type.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5e56ada9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
itemdlg.c
dlls/comdlg32/itemdlg.c
+4
-3
No files found.
dlls/comdlg32/itemdlg.c
View file @
d55aad92
...
...
@@ -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
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment