From ae7bf3fbe8e530f20a2c629530e92c5235921454 Mon Sep 17 00:00:00 2001 From: Lev Walkin Date: Mon, 29 Aug 2005 10:31:14 +0000 Subject: YuanMeng was very helpful in finding these --- libasn1compiler/asn1c_C.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libasn1compiler') diff --git a/libasn1compiler/asn1c_C.c b/libasn1compiler/asn1c_C.c index f8962be5..7b1536b9 100644 --- a/libasn1compiler/asn1c_C.c +++ b/libasn1compiler/asn1c_C.c @@ -1686,7 +1686,7 @@ emit_member_table(arg_t *arg, asn1p_expr_t *expr) { && expr->expr_type == ASN_BASIC_INTEGER && expr_elements_count(arg, expr)); if(C99_MODE) OUT(".type = "); - OUT("(void *)&asn_DEF_"); + OUT("&asn_DEF_"); if(complex_contents) { OUT("%s", MKID(expr->Identifier)); if(!(arg->flags & A1C_ALL_DEFS_GLOBAL)) -- cgit v1.2.3