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
40f3a9fa
Commit
40f3a9fa
authored
Feb 16, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Avoid signed-unsigned integer comparisons.
parent
51a79287
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
package.c
dlls/msi/package.c
+5
-3
suminfo.c
dlls/msi/suminfo.c
+1
-1
where.c
dlls/msi/where.c
+2
-2
No files found.
dlls/msi/package.c
View file @
40f3a9fa
...
...
@@ -154,7 +154,6 @@ void msi_free_action_script( MSIPACKAGE *package, UINT script )
static
void
free_package_structures
(
MSIPACKAGE
*
package
)
{
INT
i
;
struct
list
*
item
,
*
cursor
;
LIST_FOR_EACH_SAFE
(
item
,
cursor
,
&
package
->
features
)
...
...
@@ -283,11 +282,14 @@ static void free_package_structures( MSIPACKAGE *package )
if
(
package
->
script
)
{
INT
i
;
UINT
j
;
for
(
i
=
0
;
i
<
SCRIPT_MAX
;
i
++
)
msi_free_action_script
(
package
,
i
);
for
(
i
=
0
;
i
<
package
->
script
->
UniqueActionsCount
;
i
++
)
msi_free
(
package
->
script
->
UniqueActions
[
i
]
);
for
(
j
=
0
;
j
<
package
->
script
->
UniqueActionsCount
;
j
++
)
msi_free
(
package
->
script
->
UniqueActions
[
j
]
);
msi_free
(
package
->
script
->
UniqueActions
);
msi_free
(
package
->
script
);
...
...
dlls/msi/suminfo.c
View file @
40f3a9fa
...
...
@@ -922,7 +922,7 @@ static UINT parse_prop( LPCWSTR prop, LPCWSTR value, UINT *pid, INT *int_value,
UINT
msi_add_suminfo
(
MSIDATABASE
*
db
,
LPWSTR
**
records
,
int
num_records
,
int
num_columns
)
{
UINT
r
=
ERROR_FUNCTION_FAILED
;
DWORD
i
,
j
;
int
i
,
j
;
MSISUMMARYINFO
*
si
;
si
=
MSI_GetSummaryInformationW
(
db
->
storage
,
num_records
*
(
num_columns
/
2
)
);
...
...
dlls/msi/where.c
View file @
40f3a9fa
...
...
@@ -770,7 +770,7 @@ static UINT WHERE_execute( struct tagMSIVIEW *view, MSIRECORD *record )
JOINTABLE
*
table
=
wv
->
tables
;
UINT
*
rows
;
JOINTABLE
**
ordered_tables
;
int
i
=
0
;
UINT
i
=
0
;
TRACE
(
"%p %p
\n
"
,
wv
,
record
);
...
...
@@ -1052,7 +1052,7 @@ static UINT WHERE_sort(struct tagMSIVIEW *view, column_info *columns)
column_info
*
column
=
columns
;
MSIORDERINFO
*
orderinfo
;
UINT
r
,
count
=
0
;
int
i
;
UINT
i
;
TRACE
(
"%p %p
\n
"
,
view
,
columns
);
...
...
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