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
f8d0afe4
Commit
f8d0afe4
authored
Aug 31, 2011
by
Octavian Voicu
Committed by
Alexandre Julliard
Aug 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Fix a few incorrect pointer/integer casts on 64-bit.
parent
9e3d83e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
iexplore.c
dlls/ieframe/iexplore.c
+5
-5
No files found.
dlls/ieframe/iexplore.c
View file @
f8d0afe4
...
...
@@ -873,7 +873,7 @@ static BOOL create_ie_window(LPCSTR cmdline)
return
TRUE
;
}
static
ULONG
open_dde_url
(
WCHAR
*
dde_url
)
static
HDDEDATA
open_dde_url
(
WCHAR
*
dde_url
)
{
InternetExplorer
*
ie
=
NULL
,
*
iter
;
WCHAR
*
url
,
*
url_end
;
...
...
@@ -928,7 +928,7 @@ static ULONG open_dde_url(WCHAR *dde_url)
return
0
;
IWebBrowser2_Release
(
&
ie
->
IWebBrowser2_iface
);
return
DDE_FACK
;
return
ULongToHandle
(
DDE_FACK
)
;
}
static
HDDEDATA
WINAPI
dde_proc
(
UINT
type
,
UINT
uFmt
,
HCONV
hConv
,
HSZ
hsz1
,
HSZ
hsz2
,
HDDEDATA
data
,
...
...
@@ -937,7 +937,7 @@ static HDDEDATA WINAPI dde_proc(UINT type, UINT uFmt, HCONV hConv, HSZ hsz1, HSZ
switch
(
type
)
{
case
XTYP_CONNECT
:
TRACE
(
"XTYP_CONNECT %p
\n
"
,
hsz1
);
return
(
HDDEDATA
)
!
DdeCmpStringHandles
(
hsz1
,
ddestr_openurl
);
return
ULongToHandle
(
!
DdeCmpStringHandles
(
hsz1
,
ddestr_openurl
)
);
case
XTYP_EXECUTE
:
{
WCHAR
*
url
;
...
...
@@ -961,7 +961,7 @@ static HDDEDATA WINAPI dde_proc(UINT type, UINT uFmt, HCONV hConv, HSZ hsz1, HSZ
break
;
}
ret
=
(
HDDEDATA
)
open_dde_url
(
url
);
ret
=
open_dde_url
(
url
);
heap_free
(
url
);
return
ret
;
...
...
@@ -999,7 +999,7 @@ static void init_dde(void)
if
(
!
ddestr_openurl
)
WARN
(
"Failed to create string handle: %u
\n
"
,
DdeGetLastError
(
dde_inst
));
res
=
(
ULONG
)
DdeNameService
(
dde_inst
,
ddestr_iexplore
,
0
,
DNS_REGISTER
);
res
=
HandleToULong
(
DdeNameService
(
dde_inst
,
ddestr_iexplore
,
0
,
DNS_REGISTER
)
);
if
(
res
!=
DMLERR_NO_ERROR
)
WARN
(
"DdeNameService failed: %u
\n
"
,
res
);
}
...
...
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