Commit c08c3cf1 authored by Lev Walkin's avatar Lev Walkin

oops

parent 3f36e46f
...@@ -261,8 +261,8 @@ asn1c_type_fits_long(arg_t *arg, asn1p_expr_t *expr) { ...@@ -261,8 +261,8 @@ asn1c_type_fits_long(arg_t *arg, asn1p_expr_t *expr) {
* standard will give it an unsigned type. * standard will give it an unsigned type.
* It is defined here as a constant expression. * It is defined here as a constant expression.
*/ */
#define LEFTMIN 2147483647 #define RIGHTMAX 2147483647 /* of 32-bit integer type */
#define RIGHTMAX (-LEFTMIN-1) #define LEFTMIN (-RIGHTMAX-1) /* of 32-bit integer type */
/* Descend to the terminal type */ /* Descend to the terminal type */
expr = asn1f_find_terminal_type_ex(arg->asn, expr); expr = asn1f_find_terminal_type_ex(arg->asn, expr);
......
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