Commit f9127e31 authored by Lev Walkin's avatar Lev Walkin

added const

parent c3b72e9a
...@@ -1765,7 +1765,7 @@ emit_alphabet_tables(arg_t *arg, asn1p_constraint_t *ct, int *table) { ...@@ -1765,7 +1765,7 @@ emit_alphabet_tables(arg_t *arg, asn1p_constraint_t *ct, int *table) {
} }
} }
OUT("};\n"); OUT("};\n");
OUT("static int check_alphabet_%x(void *sptr) {\n", ct); OUT("static int check_alphabet_%x(const void *sptr) {\n", ct);
INDENT(+1); INDENT(+1);
OUT("int *table = alphabet_table_%x;\n", ct); OUT("int *table = alphabet_table_%x;\n", ct);
emit_alphabet_check_cycle(arg); emit_alphabet_check_cycle(arg);
......
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