From f9127e31420a72d506cea8425b2efe6b458ae1d4 Mon Sep 17 00:00:00 2001 From: Lev Walkin <vlm@lionet.info> Date: Thu, 3 Jun 2004 05:18:55 +0000 Subject: [PATCH] added const --- libasn1compiler/asn1c_C.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- GitLab