Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
b6bd8d78
Commit
b6bd8d78
authored
Sep 18, 2017
by
Bi-Ruei, Chiu
Committed by
Lev Walkin
Oct 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use parenthesis to avoid ambiguity of operator precedence
parent
742a1966
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libasn1compiler/asn1c_C.c
libasn1compiler/asn1c_C.c
+1
-1
No files found.
libasn1compiler/asn1c_C.c
View file @
b6bd8d78
...
...
@@ -2642,7 +2642,7 @@ emit_member_type_selector(arg_t *arg, asn1p_expr_t *expr, asn1c_ioc_table_and_ob
const
char
*
for_field
=
expr
->
reference
->
components
[
1
].
name
;
ssize_t
for_column
=
-
1
;
for
(
size_t
cn
=
0
;
cn
<
opt_ioc
->
ioct
->
rows
?
opt_ioc
->
ioct
->
row
[
0
]
->
columns
:
0
;
for
(
size_t
cn
=
0
;
cn
<
(
opt_ioc
->
ioct
->
rows
?
opt_ioc
->
ioct
->
row
[
0
]
->
columns
:
0
)
;
cn
++
)
{
if
(
strcmp
(
for_field
,
opt_ioc
->
ioct
->
row
[
0
]
->
column
[
cn
].
field
->
Identifier
)
...
...
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