Commit b8108ec5 authored by Lev Walkin's avatar Lev Walkin

different type for the big integer

parent b25fa06e
...@@ -103,7 +103,7 @@ asn1f_BS_unparsed_convert(arg_t *arg, asn1p_value_t *value, asn1p_expr_t *ttype) ...@@ -103,7 +103,7 @@ asn1f_BS_unparsed_convert(arg_t *arg, asn1p_value_t *value, asn1p_expr_t *ttype)
asn1p_module_t *mod; asn1p_module_t *mod;
asn1p_expr_t *V; asn1p_expr_t *V;
asn1p_expr_t *bit; asn1p_expr_t *bit;
asn1_integer_t aI; asn1c_integer_t aI;
uint8_t *bitbuf; uint8_t *bitbuf;
int bits; int bits;
int psize; int psize;
......
...@@ -287,7 +287,7 @@ int ...@@ -287,7 +287,7 @@ int
asn1f_fix_constr_autotag(arg_t *arg) { asn1f_fix_constr_autotag(arg_t *arg) {
asn1p_expr_t *expr = arg->expr; asn1p_expr_t *expr = arg->expr;
asn1p_expr_t *v; asn1p_expr_t *v;
asn1_integer_t tag_value = 0; asn1c_integer_t tag_value = 0;
int r_value = 0; int r_value = 0;
switch(expr->expr_type) { switch(expr->expr_type) {
......
...@@ -352,7 +352,7 @@ static int _range_fill(asn1p_value_t *val, const asn1cnst_range_t *minmax, asn1c ...@@ -352,7 +352,7 @@ static int _range_fill(asn1p_value_t *val, const asn1cnst_range_t *minmax, asn1c
* However, (FROM("abc".."def")) is forbidden. * However, (FROM("abc".."def")) is forbidden.
* See also 47.4.4. * See also 47.4.4.
*/ */
asn1_integer_t vmin, vmax; asn1c_integer_t vmin, vmax;
vmin = vmax = *p; vmin = vmax = *p;
for(; p < pend; p++) { for(; p < pend; p++) {
asn1cnst_range_t *nr = _range_new(); asn1cnst_range_t *nr = _range_new();
......
...@@ -8,7 +8,7 @@ typedef struct asn1cnst_edge_s { ...@@ -8,7 +8,7 @@ typedef struct asn1cnst_edge_s {
ARE_VALUE, ARE_VALUE,
} type; } type;
int lineno; /* Line where the corresponding token was found */ 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; } asn1cnst_edge_t;
typedef struct asn1cnst_range_s { typedef struct asn1cnst_range_s {
......
...@@ -7,7 +7,7 @@ int ...@@ -7,7 +7,7 @@ int
asn1f_fix_enum(arg_t *arg) { asn1f_fix_enum(arg_t *arg) {
asn1p_expr_t *expr = arg->expr; asn1p_expr_t *expr = arg->expr;
asn1p_expr_t *ev; asn1p_expr_t *ev;
asn1_integer_t max_value = -1; asn1c_integer_t max_value = -1;
int rvalue = 0; int rvalue = 0;
asn1p_expr_t *ext_marker = NULL; /* "..." position */ asn1p_expr_t *ext_marker = NULL; /* "..." position */
int ret; int ret;
...@@ -21,7 +21,7 @@ asn1f_fix_enum(arg_t *arg) { ...@@ -21,7 +21,7 @@ asn1f_fix_enum(arg_t *arg) {
* 1. Scan the enumeration values in search for inconsistencies. * 1. Scan the enumeration values in search for inconsistencies.
*/ */
TQ_FOR(ev, &(expr->members), next) { TQ_FOR(ev, &(expr->members), next) {
asn1_integer_t eval; asn1c_integer_t eval;
if(ev->value) if(ev->value)
DEBUG("\tItem %s(%s)", ev->Identifier, DEBUG("\tItem %s(%s)", ev->Identifier,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment