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
aab72562
Commit
aab72562
authored
Sep 04, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 04, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dcompiler: Get rid of a couple of redundant casts.
parent
871967d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
utils.c
dlls/d3dcompiler_43/utils.c
+3
-3
No files found.
dlls/d3dcompiler_43/utils.c
View file @
aab72562
...
...
@@ -1688,7 +1688,7 @@ struct hlsl_ir_node *make_assignment(struct hlsl_ir_node *left, enum parse_assig
static
int
compare_hlsl_types_rb
(
const
void
*
key
,
const
struct
wine_rb_entry
*
entry
)
{
const
char
*
name
=
(
const
char
*
)
key
;
const
char
*
name
=
key
;
const
struct
hlsl_type
*
type
=
WINE_RB_ENTRY_VALUE
(
entry
,
const
struct
hlsl_type
,
scope_entry
);
if
(
name
==
type
->
name
)
...
...
@@ -1825,7 +1825,7 @@ static int compare_param_hlsl_types(const struct hlsl_type *t1, const struct hls
static
int
compare_function_decl_rb
(
const
void
*
key
,
const
struct
wine_rb_entry
*
entry
)
{
const
struct
list
*
params
=
(
const
struct
list
*
)
key
;
const
struct
list
*
params
=
key
;
const
struct
hlsl_ir_function_decl
*
decl
=
WINE_RB_ENTRY_VALUE
(
entry
,
const
struct
hlsl_ir_function_decl
,
entry
);
int
params_count
=
params
?
list_count
(
params
)
:
0
;
int
decl_params_count
=
decl
->
parameters
?
list_count
(
decl
->
parameters
)
:
0
;
...
...
@@ -1860,7 +1860,7 @@ static const struct wine_rb_functions hlsl_ir_function_decl_rb_funcs =
static
int
compare_function_rb
(
const
void
*
key
,
const
struct
wine_rb_entry
*
entry
)
{
const
char
*
name
=
(
const
char
*
)
key
;
const
char
*
name
=
key
;
const
struct
hlsl_ir_function
*
func
=
WINE_RB_ENTRY_VALUE
(
entry
,
const
struct
hlsl_ir_function
,
entry
);
return
strcmp
(
name
,
func
->
name
);
...
...
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