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
fe2c1f69
Commit
fe2c1f69
authored
Oct 27, 2021
by
Raphael Riebl
Committed by
Mouse
Nov 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
INTEGER_uper: use asn_umax2INTEGER for uintmax_t value
parent
590620a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
skeletons/INTEGER_uper.c
skeletons/INTEGER_uper.c
+1
-1
No files found.
skeletons/INTEGER_uper.c
View file @
fe2c1f69
...
@@ -66,7 +66,7 @@ INTEGER_decode_uper(const asn_codec_ctx_t *opt_codec_ctx,
...
@@ -66,7 +66,7 @@ INTEGER_decode_uper(const asn_codec_ctx_t *opt_codec_ctx,
ASN_DEBUG
(
"Got value %lu + low %ld"
,
ASN_DEBUG
(
"Got value %lu + low %ld"
,
uvalue
,
ct
->
lower_bound
);
uvalue
,
ct
->
lower_bound
);
uvalue
+=
ct
->
lower_bound
;
uvalue
+=
ct
->
lower_bound
;
if
(
asn_u
long
2INTEGER
(
st
,
uvalue
))
if
(
asn_u
max
2INTEGER
(
st
,
uvalue
))
ASN__DECODE_FAILED
;
ASN__DECODE_FAILED
;
}
else
{
}
else
{
uintmax_t
uvalue
=
0
;
uintmax_t
uvalue
=
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