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:
vlm 2005-01-27 17:54:57 +00:00
parent 62a14757f7
commit 8c0d231801
1 changed files with 3 additions and 2 deletions

View File

@ -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)) {