]> git.stg.codes - stg.git/blobdiff - libs/smux/include/stg/constr_CHOICE.h
Fix divert_cap in FreeBSD.
[stg.git] / libs / smux / include / stg / constr_CHOICE.h
index 83404e6d43573c9903888fb5c49853e852a7848e..e824a2206e0895151de540ac3a3096c6f47846c1 100644 (file)
@@ -12,7 +12,7 @@
 extern "C" {
 #endif
 
-typedef struct asn_CHOICE_specifics_s {
+typedef const struct asn_CHOICE_specifics_s {
        /*
         * Target structure description.
         */
@@ -24,7 +24,7 @@ typedef struct asn_CHOICE_specifics_s {
        /*
         * Tags to members mapping table.
         */
-       asn_TYPE_tag2member_t *tag2el;
+       const asn_TYPE_tag2member_t *tag2el;
        int tag2el_count;
 
        /* Canonical ordering of CHOICE elements, for PER */