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
e2e4da97
Commit
e2e4da97
authored
Jan 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fix pointer cast warnings on 64-bit.
parent
53bc9985
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
http.c
dlls/urlmon/http.c
+2
-2
umon.c
dlls/urlmon/umon.c
+2
-2
No files found.
dlls/urlmon/http.c
View file @
e2e4da97
...
...
@@ -397,7 +397,7 @@ static HRESULT WINAPI HttpProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl
InternetSetStatusCallbackW
(
This
->
internet
,
HTTPPROTOCOL_InternetStatusCallback
);
This
->
connect
=
InternetConnectW
(
This
->
internet
,
host
,
url
.
nPort
,
user
,
pass
,
INTERNET_SERVICE_HTTP
,
0
,
(
DWORD
)
This
);
pass
,
INTERNET_SERVICE_HTTP
,
0
,
(
DWORD
_PTR
)
This
);
if
(
!
This
->
connect
)
{
WARN
(
"InternetConnect failed: %d
\n
"
,
GetLastError
());
...
...
@@ -425,7 +425,7 @@ static HRESULT WINAPI HttpProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl
wszBindVerb
[
This
->
bind_info
.
dwBindVerb
]
:
This
->
bind_info
.
szCustomVerb
,
path
,
NULL
,
NULL
,
(
LPCWSTR
*
)
accept_mimes
,
request_flags
,
(
DWORD
)
This
);
request_flags
,
(
DWORD
_PTR
)
This
);
if
(
!
This
->
request
)
{
WARN
(
"HttpOpenRequest failed: %d
\n
"
,
GetLastError
());
...
...
dlls/urlmon/umon.c
View file @
e2e4da97
...
...
@@ -606,7 +606,7 @@ static HRESULT URLMonikerImpl_BindToStorage_hack(LPCWSTR URLName, IBindCtx* pbc,
}
bind
->
hconnect
=
InternetConnectW
(
bind
->
hinternet
,
host
,
url
.
nPort
,
user
,
pass
,
dwService
,
0
,
(
DWORD
)
bind
);
dwService
,
0
,
(
DWORD
_PTR
)
bind
);
if
(
!
bind
->
hconnect
)
{
hres
=
HRESULT_FROM_WIN32
(
GetLastError
());
...
...
@@ -650,7 +650,7 @@ static HRESULT URLMonikerImpl_BindToStorage_hack(LPCWSTR URLName, IBindCtx* pbc,
break
;
case
INTERNET_SERVICE_HTTP
:
bind
->
hrequest
=
HttpOpenRequestW
(
bind
->
hconnect
,
NULL
,
path
,
NULL
,
NULL
,
NULL
,
0
,
(
DWORD
)
bind
);
bind
->
hrequest
=
HttpOpenRequestW
(
bind
->
hconnect
,
NULL
,
path
,
NULL
,
NULL
,
NULL
,
0
,
(
DWORD
_PTR
)
bind
);
if
(
!
bind
->
hrequest
)
{
hres
=
HRESULT_FROM_WIN32
(
GetLastError
());
...
...
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