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
99132bae
Commit
99132bae
authored
Jan 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Fix handle cast warnings on 64-bit.
parent
469f0b47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
olepicture.c
dlls/oleaut32/olepicture.c
+6
-6
No files found.
dlls/oleaut32/olepicture.c
View file @
99132bae
...
...
@@ -529,16 +529,16 @@ static HRESULT WINAPI OLEPictureImpl_get_Handle(IPicture *iface,
*
phandle
=
0
;
break
;
case
PICTYPE_BITMAP
:
*
phandle
=
(
OLE_HANDLE
)
This
->
desc
.
u
.
bmp
.
hbitmap
;
*
phandle
=
HandleToUlong
(
This
->
desc
.
u
.
bmp
.
hbitmap
)
;
break
;
case
PICTYPE_METAFILE
:
*
phandle
=
(
OLE_HANDLE
)
This
->
desc
.
u
.
wmf
.
hmeta
;
*
phandle
=
HandleToUlong
(
This
->
desc
.
u
.
wmf
.
hmeta
)
;
break
;
case
PICTYPE_ICON
:
*
phandle
=
(
OLE_HANDLE
)
This
->
desc
.
u
.
icon
.
hicon
;
*
phandle
=
HandleToUlong
(
This
->
desc
.
u
.
icon
.
hicon
)
;
break
;
case
PICTYPE_ENHMETAFILE
:
*
phandle
=
(
OLE_HANDLE
)
This
->
desc
.
u
.
emf
.
hemf
;
*
phandle
=
HandleToUlong
(
This
->
desc
.
u
.
emf
.
hemf
)
;
break
;
default:
FIXME
(
"Unimplemented type %d
\n
"
,
This
->
desc
.
picType
);
...
...
@@ -568,7 +568,7 @@ static HRESULT WINAPI OLEPictureImpl_get_hPal(IPicture *iface,
hres
=
S_FALSE
;
break
;
case
PICTYPE_BITMAP
:
*
phandle
=
(
OLE_HANDLE
)
This
->
desc
.
u
.
bmp
.
hpal
;
*
phandle
=
HandleToUlong
(
This
->
desc
.
u
.
bmp
.
hpal
)
;
hres
=
S_OK
;
break
;
case
PICTYPE_METAFILE
:
...
...
@@ -782,7 +782,7 @@ static HRESULT WINAPI OLEPictureImpl_SelectPicture(IPicture *iface,
*
phdcOut
=
This
->
hDCCur
;
This
->
hDCCur
=
hdcIn
;
if
(
phbmpOut
)
*
phbmpOut
=
(
OLE_HANDLE
)
This
->
desc
.
u
.
bmp
.
hbitmap
;
*
phbmpOut
=
HandleToUlong
(
This
->
desc
.
u
.
bmp
.
hbitmap
)
;
return
S_OK
;
}
else
{
FIXME
(
"Don't know how to select picture type %d
\n
"
,
This
->
desc
.
picType
);
...
...
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