aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-11-13 09:12:23 +0000
committerLev Walkin <vlm@lionet.info>2005-11-13 09:12:23 +0000
commit3278873d9d8deb02538e96960914fa4731567853 (patch)
treebd0432b268576433a7c4167e50b57bed46f22886 /skeletons
parentd1bfea65a046b1b8e3ba8fe5eb7260416a1e086a (diff)
*** empty log message ***
Diffstat (limited to 'skeletons')
-rw-r--r--skeletons/constr_CHOICE.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/skeletons/constr_CHOICE.c b/skeletons/constr_CHOICE.c
index f832812a..6ab4a0bd 100644
--- a/skeletons/constr_CHOICE.c
+++ b/skeletons/constr_CHOICE.c
@@ -446,8 +446,8 @@ CHOICE_outmost_tag(asn_TYPE_descriptor_t *td, const void *ptr, int tag_mode, ber
asn_CHOICE_specifics_t *specs = (asn_CHOICE_specifics_t *)td->specifics;
int present;
- assert(tag_mode == 0);
- assert(tag == 0);
+ assert(tag_mode == 0); (void)tag_mode;
+ assert(tag == 0); (void)tag;
/*
* Figure out which CHOICE element is encoded.
@@ -652,10 +652,10 @@ CHOICE_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
tcv = xer_check_tag(buf_ptr, ch_size, xml_tag);
ASN_DEBUG("XER/CHOICE checked [%c%c%c%c] vs [%s], tcv=%d",
- ch_size>0?((uint8_t *)buf_ptr)[0]:'?',
- ch_size>1?((uint8_t *)buf_ptr)[1]:'?',
- ch_size>2?((uint8_t *)buf_ptr)[2]:'?',
- ch_size>3?((uint8_t *)buf_ptr)[3]:'?',
+ ch_size>0?((const uint8_t *)buf_ptr)[0]:'?',
+ ch_size>1?((const uint8_t *)buf_ptr)[1]:'?',
+ ch_size>2?((const uint8_t *)buf_ptr)[2]:'?',
+ ch_size>3?((const uint8_t *)buf_ptr)[3]:'?',
xml_tag, tcv);
/* Skip the extensions section */