aboutsummaryrefslogtreecommitdiffstats
path: root/libasn1compiler
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-08-29 10:31:14 +0000
committerLev Walkin <vlm@lionet.info>2005-08-29 10:31:14 +0000
commitae7bf3fbe8e530f20a2c629530e92c5235921454 (patch)
tree4f173bf7d27476d128d4bb845b3b7665e70d4281 /libasn1compiler
parent0f5c5cfce99074487c5ca6ab7d0641e2aa3aa03f (diff)
YuanMeng was very helpful in finding these
Diffstat (limited to 'libasn1compiler')
-rw-r--r--libasn1compiler/asn1c_C.c2
1 files changed, 1 insertions, 1 deletions
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))