mirror of https://gerrit.osmocom.org/asn1c
different type for the big integer
This commit is contained in:
parent
b25fa06e20
commit
b8108ec5ad
|
@ -103,7 +103,7 @@ asn1f_BS_unparsed_convert(arg_t *arg, asn1p_value_t *value, asn1p_expr_t *ttype)
|
|||
asn1p_module_t *mod;
|
||||
asn1p_expr_t *V;
|
||||
asn1p_expr_t *bit;
|
||||
asn1_integer_t aI;
|
||||
asn1c_integer_t aI;
|
||||
uint8_t *bitbuf;
|
||||
int bits;
|
||||
int psize;
|
||||
|
|
|
@ -287,7 +287,7 @@ int
|
|||
asn1f_fix_constr_autotag(arg_t *arg) {
|
||||
asn1p_expr_t *expr = arg->expr;
|
||||
asn1p_expr_t *v;
|
||||
asn1_integer_t tag_value = 0;
|
||||
asn1c_integer_t tag_value = 0;
|
||||
int r_value = 0;
|
||||
|
||||
switch(expr->expr_type) {
|
||||
|
|
|
@ -352,7 +352,7 @@ static int _range_fill(asn1p_value_t *val, const asn1cnst_range_t *minmax, asn1c
|
|||
* However, (FROM("abc".."def")) is forbidden.
|
||||
* See also 47.4.4.
|
||||
*/
|
||||
asn1_integer_t vmin, vmax;
|
||||
asn1c_integer_t vmin, vmax;
|
||||
vmin = vmax = *p;
|
||||
for(; p < pend; p++) {
|
||||
asn1cnst_range_t *nr = _range_new();
|
||||
|
|
|
@ -8,7 +8,7 @@ typedef struct asn1cnst_edge_s {
|
|||
ARE_VALUE,
|
||||
} type;
|
||||
int lineno; /* Line where the corresponding token was found */
|
||||
asn1_integer_t value; /* Value when type is ARE_VALUE */
|
||||
asn1c_integer_t value; /* Value when type is ARE_VALUE */
|
||||
} asn1cnst_edge_t;
|
||||
|
||||
typedef struct asn1cnst_range_s {
|
||||
|
|
|
@ -7,7 +7,7 @@ int
|
|||
asn1f_fix_enum(arg_t *arg) {
|
||||
asn1p_expr_t *expr = arg->expr;
|
||||
asn1p_expr_t *ev;
|
||||
asn1_integer_t max_value = -1;
|
||||
asn1c_integer_t max_value = -1;
|
||||
int rvalue = 0;
|
||||
asn1p_expr_t *ext_marker = NULL; /* "..." position */
|
||||
int ret;
|
||||
|
@ -21,7 +21,7 @@ asn1f_fix_enum(arg_t *arg) {
|
|||
* 1. Scan the enumeration values in search for inconsistencies.
|
||||
*/
|
||||
TQ_FOR(ev, &(expr->members), next) {
|
||||
asn1_integer_t eval;
|
||||
asn1c_integer_t eval;
|
||||
|
||||
if(ev->value)
|
||||
DEBUG("\tItem %s(%s)", ev->Identifier,
|
||||
|
|
Loading…
Reference in New Issue