]> git.stg.codes - stg.git/blobdiff - libs/smux/include/stg/constr_CHOICE.h
Fix XML-RPC module compilation on C++17-only compilers.
[stg.git] / libs / smux / include / stg / constr_CHOICE.h
index 83404e6d43573c9903888fb5c49853e852a7848e..e824a2206e0895151de540ac3a3096c6f47846c1 100644 (file)
@@ -12,7 +12,7 @@
 extern "C" {
 #endif
 
 extern "C" {
 #endif
 
-typedef struct asn_CHOICE_specifics_s {
+typedef const struct asn_CHOICE_specifics_s {
        /*
         * Target structure description.
         */
        /*
         * Target structure description.
         */
@@ -24,7 +24,7 @@ typedef struct asn_CHOICE_specifics_s {
        /*
         * Tags to members mapping table.
         */
        /*
         * 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 */
        int tag2el_count;
 
        /* Canonical ordering of CHOICE elements, for PER */