diff options
author | Lev Walkin <vlm@lionet.info> | 2004-06-03 05:18:55 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2004-06-03 05:18:55 +0000 |
commit | f9127e31420a72d506cea8425b2efe6b458ae1d4 (patch) | |
tree | 4cd56cf2ff3656f6a41bd632f173725810345649 /libasn1compiler | |
parent | c3b72e9a7f5a578417ec21105d8e00d6ecc656c5 (diff) |
added const
Diffstat (limited to 'libasn1compiler')
-rw-r--r-- | libasn1compiler/asn1c_C.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libasn1compiler/asn1c_C.c b/libasn1compiler/asn1c_C.c index 0f5cf2bf..0dd0a70f 100644 --- a/libasn1compiler/asn1c_C.c +++ b/libasn1compiler/asn1c_C.c @@ -1765,7 +1765,7 @@ emit_alphabet_tables(arg_t *arg, asn1p_constraint_t *ct, int *table) { } } 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); OUT("int *table = alphabet_table_%x;\n", ct); emit_alphabet_check_cycle(arg); |