aboutsummaryrefslogtreecommitdiffstats
path: root/tests/42-real-life-OK.asn1.-PR
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2005-03-17 21:57:19 +0000
committerLev Walkin <vlm@lionet.info>2005-03-17 21:57:19 +0000
commit3ebc65a699b9a093332fc93d5df8873158d599a4 (patch)
tree3427ef8751a3b151bfd5a9cb383e667ece87f14f /tests/42-real-life-OK.asn1.-PR
parentdd1512ec09ed7a8b2a5f6b0e71e54927526f55ce (diff)
const qualifiers
Diffstat (limited to 'tests/42-real-life-OK.asn1.-PR')
-rw-r--r--tests/42-real-life-OK.asn1.-PR4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/42-real-life-OK.asn1.-PR b/tests/42-real-life-OK.asn1.-PR
index d0325fb7..304eac2b 100644
--- a/tests/42-real-life-OK.asn1.-PR
+++ b/tests/42-real-life-OK.asn1.-PR
@@ -649,7 +649,7 @@ accept_as_2_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
static asn_dec_rval_t
accept_as_2_decode_ber(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, void *bufptr, size_t size, int tag_mode) {
+ void **structure, const void *bufptr, size_t size, int tag_mode) {
accept_as_2_inherit_TYPE_descriptor(td);
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size, tag_mode);
}
@@ -664,7 +664,7 @@ accept_as_2_encode_der(asn_TYPE_descriptor_t *td,
static asn_dec_rval_t
accept_as_2_decode_xer(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td,
- void **structure, const char *opt_mname, void *bufptr, size_t size) {
+ void **structure, const char *opt_mname, const void *bufptr, size_t size) {
accept_as_2_inherit_TYPE_descriptor(td);
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr, size);
}