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
b186c4dd
Commit
b186c4dd
authored
Jun 07, 2007
by
Dan Hipschman
Committed by
Alexandre Julliard
Jun 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Check for NULL in set_tfswrite.
parent
11b53529
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
typegen.c
tools/widl/typegen.c
+3
-2
No files found.
tools/widl/typegen.c
View file @
b186c4dd
...
...
@@ -1457,7 +1457,7 @@ static void set_tfswrite(type_t *type, int val)
if
(
type
->
kind
==
TKIND_ALIAS
)
type
=
type
->
orig
;
else
if
(
is_ptr
(
type
))
else
if
(
is_ptr
(
type
)
||
is_array
(
type
)
)
type
=
type
->
ref
;
else
{
...
...
@@ -1465,7 +1465,8 @@ static void set_tfswrite(type_t *type, int val)
{
var_t
*
v
;
LIST_FOR_EACH_ENTRY
(
v
,
type
->
fields
,
var_t
,
entry
)
set_tfswrite
(
v
->
type
,
val
);
if
(
v
->
type
)
set_tfswrite
(
v
->
type
,
val
);
}
return
;
...
...
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