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
03a20204
Commit
03a20204
authored
Dec 10, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Remove unneeded casts.
parent
1a1d0a3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dplay.c
dlls/dplayx/dplay.c
+5
-5
No files found.
dlls/dplayx/dplay.c
View file @
03a20204
...
...
@@ -1918,7 +1918,7 @@ cbDeletePlayerFromAllGroups(
DP_IF_EnumGroupsInGroup
(
(
IDirectPlay3Impl
*
)
lpCtxt
->
This
,
dpId
,
NULL
,
cbDeletePlayerFromAllGroups
,
(
LPVOID
)
lpContext
,
DPENUMGROUPS_ALL
,
lpContext
,
DPENUMGROUPS_ALL
,
lpCtxt
->
bAnsi
);
}
...
...
@@ -3358,7 +3358,7 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 lpSessionDest,
lpSessionDest
->
u1
.
lpszSessionNameA
);
lpSessionDest
->
u1
.
lpszSessionNameA
=
(
LPSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
lstrlenA
(
(
LPSTR
)
lpSessionDest
->
u1
.
lpszSessionNameA
)
+
1
;
lstrlenA
(
lpSessionDest
->
u1
.
lpszSessionNameA
)
+
1
;
}
if
(
lpSessionSrc
->
u2
.
lpszPasswordA
)
...
...
@@ -3367,7 +3367,7 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 lpSessionDest,
lpSessionDest
->
u2
.
lpszPasswordA
);
lpSessionDest
->
u2
.
lpszPasswordA
=
(
LPSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
lstrlenA
(
(
LPSTR
)
lpSessionDest
->
u2
.
lpszPasswordA
)
+
1
;
lstrlenA
(
lpSessionDest
->
u2
.
lpszPasswordA
)
+
1
;
}
}
else
/* UNICODE */
...
...
@@ -3378,7 +3378,7 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 lpSessionDest,
lpSessionDest
->
u1
.
lpszSessionName
);
lpSessionDest
->
u1
.
lpszSessionName
=
(
LPWSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
sizeof
(
WCHAR
)
*
(
lstrlenW
(
(
LPWSTR
)
lpSessionDest
->
u1
.
lpszSessionName
)
+
1
);
(
lstrlenW
(
lpSessionDest
->
u1
.
lpszSessionName
)
+
1
);
}
if
(
lpSessionSrc
->
u2
.
lpszPassword
)
...
...
@@ -3387,7 +3387,7 @@ static void DP_CopySessionDesc( LPDPSESSIONDESC2 lpSessionDest,
lpSessionDest
->
u2
.
lpszPassword
);
lpSessionDest
->
u2
.
lpszPassword
=
(
LPWSTR
)
lpStartOfFreeSpace
;
lpStartOfFreeSpace
+=
sizeof
(
WCHAR
)
*
(
lstrlenW
(
(
LPWSTR
)
lpSessionDest
->
u2
.
lpszPassword
)
+
1
);
(
lstrlenW
(
lpSessionDest
->
u2
.
lpszPassword
)
+
1
);
}
}
}
...
...
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