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
a5195512
Commit
a5195512
authored
Dec 31, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 02, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Remove unneeded casts.
parent
f074c0e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
dplayx_global.c
dlls/dplayx/dplayx_global.c
+7
-7
dplobby.c
dlls/dplayx/dplobby.c
+1
-1
No files found.
dlls/dplayx/dplayx_global.c
View file @
a5195512
...
...
@@ -679,7 +679,7 @@ void DPLAYX_CopyConnStructA( LPDPLCONNECTION dest, const DPLCONNECTION *src )
strcpy
(
(
LPSTR
)
lpStartOfFreeSpace
,
src
->
lpSessionDesc
->
u1
.
lpszSessionNameA
);
dest
->
lpSessionDesc
->
u1
.
lpszSessionNameA
=
(
LPSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
strlen
(
(
LPSTR
)
dest
->
lpSessionDesc
->
u1
.
lpszSessionNameA
)
+
1
;
strlen
(
dest
->
lpSessionDesc
->
u1
.
lpszSessionNameA
)
+
1
;
}
if
(
src
->
lpSessionDesc
->
u2
.
lpszPasswordA
)
...
...
@@ -687,7 +687,7 @@ void DPLAYX_CopyConnStructA( LPDPLCONNECTION dest, const DPLCONNECTION *src )
strcpy
(
(
LPSTR
)
lpStartOfFreeSpace
,
src
->
lpSessionDesc
->
u2
.
lpszPasswordA
);
dest
->
lpSessionDesc
->
u2
.
lpszPasswordA
=
(
LPSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
strlen
(
(
LPSTR
)
dest
->
lpSessionDesc
->
u2
.
lpszPasswordA
)
+
1
;
strlen
(
dest
->
lpSessionDesc
->
u2
.
lpszPasswordA
)
+
1
;
}
}
...
...
@@ -703,7 +703,7 @@ void DPLAYX_CopyConnStructA( LPDPLCONNECTION dest, const DPLCONNECTION *src )
strcpy
(
(
LPSTR
)
lpStartOfFreeSpace
,
src
->
lpPlayerName
->
u1
.
lpszShortNameA
);
dest
->
lpPlayerName
->
u1
.
lpszShortNameA
=
(
LPSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
strlen
(
(
LPSTR
)
dest
->
lpPlayerName
->
u1
.
lpszShortNameA
)
+
1
;
strlen
(
dest
->
lpPlayerName
->
u1
.
lpszShortNameA
)
+
1
;
}
if
(
src
->
lpPlayerName
->
u2
.
lpszLongNameA
)
...
...
@@ -801,7 +801,7 @@ void DPLAYX_CopyConnStructW( LPDPLCONNECTION dest, const DPLCONNECTION *src )
strcpyW
(
(
LPWSTR
)
lpStartOfFreeSpace
,
src
->
lpSessionDesc
->
u1
.
lpszSessionName
);
dest
->
lpSessionDesc
->
u1
.
lpszSessionName
=
(
LPWSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
sizeof
(
WCHAR
)
*
(
strlenW
(
(
LPWSTR
)
dest
->
lpSessionDesc
->
u1
.
lpszSessionName
)
+
1
);
(
strlenW
(
dest
->
lpSessionDesc
->
u1
.
lpszSessionName
)
+
1
);
}
if
(
src
->
lpSessionDesc
->
u2
.
lpszPassword
)
...
...
@@ -809,7 +809,7 @@ void DPLAYX_CopyConnStructW( LPDPLCONNECTION dest, const DPLCONNECTION *src )
strcpyW
(
(
LPWSTR
)
lpStartOfFreeSpace
,
src
->
lpSessionDesc
->
u2
.
lpszPassword
);
dest
->
lpSessionDesc
->
u2
.
lpszPassword
=
(
LPWSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
sizeof
(
WCHAR
)
*
(
strlenW
(
(
LPWSTR
)
dest
->
lpSessionDesc
->
u2
.
lpszPassword
)
+
1
);
(
strlenW
(
dest
->
lpSessionDesc
->
u2
.
lpszPassword
)
+
1
);
}
}
...
...
@@ -825,7 +825,7 @@ void DPLAYX_CopyConnStructW( LPDPLCONNECTION dest, const DPLCONNECTION *src )
strcpyW
(
(
LPWSTR
)
lpStartOfFreeSpace
,
src
->
lpPlayerName
->
u1
.
lpszShortName
);
dest
->
lpPlayerName
->
u1
.
lpszShortName
=
(
LPWSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
sizeof
(
WCHAR
)
*
(
strlenW
(
(
LPWSTR
)
dest
->
lpPlayerName
->
u1
.
lpszShortName
)
+
1
);
(
strlenW
(
dest
->
lpPlayerName
->
u1
.
lpszShortName
)
+
1
);
}
if
(
src
->
lpPlayerName
->
u2
.
lpszLongName
)
...
...
@@ -833,7 +833,7 @@ void DPLAYX_CopyConnStructW( LPDPLCONNECTION dest, const DPLCONNECTION *src )
strcpyW
(
(
LPWSTR
)
lpStartOfFreeSpace
,
src
->
lpPlayerName
->
u2
.
lpszLongName
);
dest
->
lpPlayerName
->
u2
.
lpszLongName
=
(
LPWSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
sizeof
(
WCHAR
)
*
(
strlenW
(
(
LPWSTR
)
dest
->
lpPlayerName
->
u2
.
lpszLongName
)
+
1
);
(
strlenW
(
dest
->
lpPlayerName
->
u2
.
lpszLongName
)
+
1
);
}
}
...
...
dlls/dplayx/dplobby.c
View file @
a5195512
...
...
@@ -1335,7 +1335,7 @@ static HRESULT WINAPI IDirectPlayLobbyWImpl_RunApplication
HANDLE
hReceiveEvent
)
{
IDirectPlayLobbyWImpl
*
This
=
(
IDirectPlayLobbyWImpl
*
)
iface
;
FIXME
(
"(%p)->(0x%08x,%p,%p,%p):stub
\n
"
,
This
,
dwFlags
,
lpdwAppID
,
lpConn
,
(
void
*
)
hReceiveEvent
);
FIXME
(
"(%p)->(0x%08x,%p,%p,%p):stub
\n
"
,
This
,
dwFlags
,
lpdwAppID
,
lpConn
,
hReceiveEvent
);
return
DPERR_OUTOFMEMORY
;
}
...
...
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