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
835171c2
Commit
835171c2
authored
Sep 21, 2011
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Remove casts to the type of the casted expression.
parent
ceb7add4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
handle.c
server/handle.c
+2
-2
No files found.
server/handle.c
View file @
835171c2
...
...
@@ -267,7 +267,7 @@ static obj_handle_t alloc_global_handle_no_access_check( void *obj, unsigned int
{
if
(
!
global_table
)
{
if
(
!
(
global_table
=
(
struct
handle_table
*
)
alloc_handle_table
(
NULL
,
0
)))
if
(
!
(
global_table
=
alloc_handle_table
(
NULL
,
0
)))
return
0
;
make_object_static
(
&
global_table
->
obj
);
}
...
...
@@ -336,7 +336,7 @@ struct handle_table *copy_handle_table( struct process *process, struct process
assert
(
parent_table
);
assert
(
parent_table
->
obj
.
ops
==
&
handle_table_ops
);
if
(
!
(
table
=
(
struct
handle_table
*
)
alloc_handle_table
(
process
,
parent_table
->
count
)))
if
(
!
(
table
=
alloc_handle_table
(
process
,
parent_table
->
count
)))
return
NULL
;
if
((
table
->
last
=
parent_table
->
last
)
>=
0
)
...
...
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