mirror of https://gerrit.osmocom.org/asn1c
break aliasing rules
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@615 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
62a14757f7
commit
8c0d231801
|
@ -173,6 +173,7 @@ NativeInteger_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
|||
void *buf_ptr, size_t size) {
|
||||
asn_dec_rval_t rval;
|
||||
INTEGER_t *st = 0;
|
||||
void *st_ptr = (void *)&st;
|
||||
int *Int = (int *)*sptr;
|
||||
|
||||
if(!Int) {
|
||||
|
@ -185,8 +186,8 @@ NativeInteger_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
|||
}
|
||||
}
|
||||
|
||||
rval = INTEGER_decode_xer(opt_codec_ctx, td, (void **)&st, opt_mname,
|
||||
buf_ptr, size);
|
||||
rval = INTEGER_decode_xer(opt_codec_ctx, td, (void **)st_ptr,
|
||||
opt_mname, buf_ptr, size);
|
||||
if(rval.code == RC_OK) {
|
||||
long l;
|
||||
if(asn_INTEGER2long(st, &l)) {
|
||||
|
|
Loading…
Reference in New Issue