api change reflection
diff --git a/libasn1compiler/asn1c_misc.c b/libasn1compiler/asn1c_misc.c
index c30174b..be3446a 100644
--- a/libasn1compiler/asn1c_misc.c
+++ b/libasn1compiler/asn1c_misc.c
@@ -99,9 +99,10 @@
* Resolve it and use instead.
*/
tmp.expr = asn1f_class_access_ex(arg->asn, arg->mod,
- arg->expr, expr->reference, &tmp.mod);
+ arg->expr, expr->reference);
if(tmp.expr) return NULL;
+ tmp.mod = tmp.expr->module;
return asn1c_type_name(&tmp, tmp.expr, _format);
} else if(_format == TNF_RSAFE) {
/*