Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
24c4f1de
Commit
24c4f1de
authored
Jan 29, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: Remove superfluous pointer casts.
parent
fa6e7c26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rpc.c
programs/services/rpc.c
+2
-2
No files found.
programs/services/rpc.c
View file @
24c4f1de
...
...
@@ -87,7 +87,7 @@ struct sc_lock
/* Check if the given handle is of the required type and allows the requested access. */
static
DWORD
validate_context_handle
(
SC_RPC_HANDLE
handle
,
DWORD
type
,
DWORD
needed_access
,
struct
sc_handle
**
out_hdr
)
{
struct
sc_handle
*
hdr
=
(
struct
sc_handle
*
)
handle
;
struct
sc_handle
*
hdr
=
handle
;
if
(
type
!=
SC_HTYPE_DONT_CARE
&&
hdr
->
type
!=
type
)
{
...
...
@@ -158,7 +158,7 @@ DWORD svcctl_OpenSCManagerW(
static
void
SC_RPC_HANDLE_destroy
(
SC_RPC_HANDLE
handle
)
{
struct
sc_handle
*
hdr
=
(
struct
sc_handle
*
)
handle
;
struct
sc_handle
*
hdr
=
handle
;
switch
(
hdr
->
type
)
{
case
SC_HTYPE_MANAGER
:
...
...
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