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
40db5bdb
Commit
40db5bdb
authored
Oct 20, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Sign-compare warnings fix.
parent
860ba029
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
appsearch.c
dlls/msi/appsearch.c
+2
-2
automation.c
dlls/msi/automation.c
+1
-1
database.c
dlls/msi/database.c
+1
-1
dialog.c
dlls/msi/dialog.c
+1
-1
helpers.c
dlls/msi/helpers.c
+2
-2
No files found.
dlls/msi/appsearch.c
View file @
40db5bdb
...
@@ -594,7 +594,7 @@ static void ACTION_ExpandAnyPath(MSIPACKAGE *package, WCHAR *src, WCHAR *dst,
...
@@ -594,7 +594,7 @@ static void ACTION_ExpandAnyPath(MSIPACKAGE *package, WCHAR *src, WCHAR *dst,
ptr
=
src
;
ptr
=
src
;
deformat_string
(
package
,
ptr
,
&
deformatted
);
deformat_string
(
package
,
ptr
,
&
deformatted
);
if
(
!
deformatted
||
l
strlenW
(
deformatted
)
>
len
-
1
)
if
(
!
deformatted
||
strlenW
(
deformatted
)
>
len
-
1
)
{
{
msi_free
(
deformatted
);
msi_free
(
deformatted
);
return
;
return
;
...
@@ -755,7 +755,7 @@ static UINT ACTION_RecurseSearchDirectory(MSIPACKAGE *package, LPWSTR *appValue,
...
@@ -755,7 +755,7 @@ static UINT ACTION_RecurseSearchDirectory(MSIPACKAGE *package, LPWSTR *appValue,
* here. Add two because we might need to add a backslash if the dir name
* here. Add two because we might need to add a backslash if the dir name
* isn't backslash-terminated.
* isn't backslash-terminated.
*/
*/
buf
=
msi_alloc
(
(
dirLen
+
max
(
fileLen
,
l
strlenW
(
starDotStarW
))
+
2
)
*
sizeof
(
WCHAR
));
buf
=
msi_alloc
(
(
dirLen
+
max
(
fileLen
,
strlenW
(
starDotStarW
))
+
2
)
*
sizeof
(
WCHAR
));
if
(
!
buf
)
if
(
!
buf
)
return
ERROR_OUTOFMEMORY
;
return
ERROR_OUTOFMEMORY
;
...
...
dlls/msi/automation.c
View file @
40db5bdb
...
@@ -336,7 +336,7 @@ static HRESULT WINAPI AutomationObject_GetIDsOfNames(
...
@@ -336,7 +336,7 @@ static HRESULT WINAPI AutomationObject_GetIDsOfNames(
hr
=
ITypeInfo_GetIDsOfNames
(
This
->
iTypeInfo
,
rgszNames
,
cNames
,
rgDispId
);
hr
=
ITypeInfo_GetIDsOfNames
(
This
->
iTypeInfo
,
rgszNames
,
cNames
,
rgDispId
);
if
(
hr
==
DISP_E_UNKNOWNNAME
)
if
(
hr
==
DISP_E_UNKNOWNNAME
)
{
{
int
idx
;
UINT
idx
;
for
(
idx
=
0
;
idx
<
cNames
;
idx
++
)
for
(
idx
=
0
;
idx
<
cNames
;
idx
++
)
{
{
if
(
rgDispId
[
idx
]
==
DISPID_UNKNOWN
)
if
(
rgDispId
[
idx
]
==
DISPID_UNKNOWN
)
...
...
dlls/msi/database.c
View file @
40db5bdb
...
@@ -557,7 +557,7 @@ static UINT msi_add_records_to_table(MSIDATABASE *db, LPWSTR *columns, LPWSTR *t
...
@@ -557,7 +557,7 @@ static UINT msi_add_records_to_table(MSIDATABASE *db, LPWSTR *columns, LPWSTR *t
int
num_columns
,
int
num_records
)
int
num_columns
,
int
num_records
)
{
{
UINT
r
;
UINT
r
;
DWORD
i
;
int
i
;
MSIQUERY
*
view
;
MSIQUERY
*
view
;
MSIRECORD
*
rec
;
MSIRECORD
*
rec
;
...
...
dlls/msi/dialog.c
View file @
40db5bdb
...
@@ -1388,7 +1388,7 @@ msi_maskedit_set_text( struct msi_maskedit_info *info, LPCWSTR text )
...
@@ -1388,7 +1388,7 @@ msi_maskedit_set_text( struct msi_maskedit_info *info, LPCWSTR text )
p
=
text
;
p
=
text
;
for
(
i
=
0
;
i
<
info
->
num_groups
;
i
++
)
for
(
i
=
0
;
i
<
info
->
num_groups
;
i
++
)
{
{
if
(
info
->
group
[
i
].
len
<
l
strlenW
(
p
)
)
if
(
info
->
group
[
i
].
len
<
strlenW
(
p
)
)
{
{
LPWSTR
chunk
=
strdupW
(
p
);
LPWSTR
chunk
=
strdupW
(
p
);
chunk
[
info
->
group
[
i
].
len
]
=
0
;
chunk
[
info
->
group
[
i
].
len
]
=
0
;
...
...
dlls/msi/helpers.c
View file @
40db5bdb
...
@@ -436,7 +436,7 @@ UINT schedule_action(MSIPACKAGE *package, UINT script, LPCWSTR action)
...
@@ -436,7 +436,7 @@ UINT schedule_action(MSIPACKAGE *package, UINT script, LPCWSTR action)
void
msi_free_action_script
(
MSIPACKAGE
*
package
,
UINT
script
)
void
msi_free_action_script
(
MSIPACKAGE
*
package
,
UINT
script
)
{
{
int
i
;
UINT
i
;
for
(
i
=
0
;
i
<
package
->
script
->
ActionCount
[
script
];
i
++
)
for
(
i
=
0
;
i
<
package
->
script
->
ActionCount
[
script
];
i
++
)
msi_free
(
package
->
script
->
Actions
[
script
][
i
]);
msi_free
(
package
->
script
->
Actions
[
script
][
i
]);
...
@@ -1009,7 +1009,7 @@ UINT register_unique_action(MSIPACKAGE *package, LPCWSTR action)
...
@@ -1009,7 +1009,7 @@ UINT register_unique_action(MSIPACKAGE *package, LPCWSTR action)
BOOL
check_unique_action
(
const
MSIPACKAGE
*
package
,
LPCWSTR
action
)
BOOL
check_unique_action
(
const
MSIPACKAGE
*
package
,
LPCWSTR
action
)
{
{
INT
i
;
U
INT
i
;
if
(
!
package
->
script
)
if
(
!
package
->
script
)
return
FALSE
;
return
FALSE
;
...
...
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