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
dcf1a0c8
Commit
dcf1a0c8
authored
Dec 30, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix some pointer cast warnings on 64-bit.
parent
b3878802
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
join.c
dlls/msi/join.c
+1
-1
storages.c
dlls/msi/storages.c
+2
-2
streams.c
dlls/msi/streams.c
+2
-2
No files found.
dlls/msi/join.c
View file @
dcf1a0c8
...
...
@@ -259,7 +259,7 @@ static UINT JOIN_find_matching_rows( struct tagMSIVIEW *view, UINT col,
if
(
col
==
0
||
col
>
jv
->
columns
)
return
ERROR_INVALID_PARAMETER
;
for
(
i
=
(
UINT
)
*
handle
;
i
<
jv
->
rows
;
i
++
)
for
(
i
=
PtrToUlong
(
*
handle
)
;
i
<
jv
->
rows
;
i
++
)
{
if
(
view
->
ops
->
fetch_int
(
view
,
i
,
col
,
&
row_value
)
!=
ERROR_SUCCESS
)
continue
;
...
...
dlls/msi/storages.c
View file @
dcf1a0c8
...
...
@@ -452,7 +452,7 @@ static UINT STORAGES_find_matching_rows(struct tagMSIVIEW *view, UINT col,
UINT
val
,
UINT
*
row
,
MSIITERHANDLE
*
handle
)
{
MSISTORAGESVIEW
*
sv
=
(
MSISTORAGESVIEW
*
)
view
;
UINT
index
=
(
UINT
)
*
handle
;
UINT
index
=
PtrToUlong
(
*
handle
)
;
TRACE
(
"(%d, %d): %d
\n
"
,
*
row
,
col
,
val
);
...
...
@@ -470,7 +470,7 @@ static UINT STORAGES_find_matching_rows(struct tagMSIVIEW *view, UINT col,
index
++
;
}
*
handle
=
(
MSIITERHANDLE
)
++
index
;
*
handle
=
UlongToPtr
(
++
index
)
;
if
(
index
>=
sv
->
num_rows
)
return
ERROR_NO_MORE_ITEMS
;
...
...
dlls/msi/streams.c
View file @
dcf1a0c8
...
...
@@ -420,7 +420,7 @@ static UINT STREAMS_find_matching_rows(struct tagMSIVIEW *view, UINT col,
UINT
val
,
UINT
*
row
,
MSIITERHANDLE
*
handle
)
{
MSISTREAMSVIEW
*
sv
=
(
MSISTREAMSVIEW
*
)
view
;
UINT
index
=
(
UINT
)
*
handle
;
UINT
index
=
PtrToUlong
(
*
handle
)
;
TRACE
(
"(%d, %d): %d
\n
"
,
*
row
,
col
,
val
);
...
...
@@ -438,7 +438,7 @@ static UINT STREAMS_find_matching_rows(struct tagMSIVIEW *view, UINT col,
index
++
;
}
*
handle
=
(
MSIITERHANDLE
)
++
index
;
*
handle
=
UlongToPtr
(
++
index
)
;
if
(
index
>=
sv
->
num_rows
)
return
ERROR_NO_MORE_ITEMS
;
...
...
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