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
bb8883dd
Commit
bb8883dd
authored
Jan 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Fix handle cast warnings on 64-bit.
parent
d1613f60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ftp.c
dlls/wininet/ftp.c
+5
-5
No files found.
dlls/wininet/ftp.c
View file @
bb8883dd
...
...
@@ -858,13 +858,13 @@ lend:
if
(
hFindNext
)
{
iar
.
dwResult
=
(
DWORD
)
hFindNext
;
iar
.
dwResult
=
(
DWORD
_PTR
)
hFindNext
;
iar
.
dwError
=
ERROR_SUCCESS
;
SendAsyncCallback
(
&
lpwfs
->
hdr
,
lpwfs
->
hdr
.
dwContext
,
INTERNET_STATUS_HANDLE_CREATED
,
&
iar
,
sizeof
(
INTERNET_ASYNC_RESULT
));
}
iar
.
dwResult
=
(
DWORD
)
hFindNext
;
iar
.
dwResult
=
(
DWORD
_PTR
)
hFindNext
;
iar
.
dwError
=
hFindNext
?
ERROR_SUCCESS
:
INTERNET_GetLastError
();
SendAsyncCallback
(
&
lpwfs
->
hdr
,
lpwfs
->
hdr
.
dwContext
,
INTERNET_STATUS_REQUEST_COMPLETE
,
&
iar
,
sizeof
(
INTERNET_ASYNC_RESULT
));
...
...
@@ -1343,13 +1343,13 @@ HINTERNET FTP_FtpOpenFileW(LPWININETFTPSESSIONW lpwfs,
if
(
lpwh
)
{
iar
.
dwResult
=
(
DWORD
)
handle
;
iar
.
dwResult
=
(
DWORD
_PTR
)
handle
;
iar
.
dwError
=
ERROR_SUCCESS
;
SendAsyncCallback
(
&
lpwfs
->
hdr
,
lpwfs
->
hdr
.
dwContext
,
INTERNET_STATUS_HANDLE_CREATED
,
&
iar
,
sizeof
(
INTERNET_ASYNC_RESULT
));
}
iar
.
dwResult
=
(
DWORD
)
bSuccess
;
iar
.
dwResult
=
bSuccess
;
iar
.
dwError
=
bSuccess
?
ERROR_SUCCESS
:
INTERNET_GetLastError
();
SendAsyncCallback
(
&
lpwfs
->
hdr
,
lpwfs
->
hdr
.
dwContext
,
INTERNET_STATUS_REQUEST_COMPLETE
,
&
iar
,
sizeof
(
INTERNET_ASYNC_RESULT
));
...
...
@@ -2340,7 +2340,7 @@ HINTERNET FTP_Connect(LPWININETAPPINFOW hIC, LPCWSTR lpszServerName,
{
INTERNET_ASYNC_RESULT
iar
;
iar
.
dwResult
=
(
DWORD
)
handle
;
iar
.
dwResult
=
(
DWORD
_PTR
)
handle
;
iar
.
dwError
=
ERROR_SUCCESS
;
SendAsyncCallback
(
&
hIC
->
hdr
,
dwContext
,
...
...
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