diff options
author | Lev Walkin <vlm@lionet.info> | 2005-01-17 14:32:45 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2005-01-17 14:32:45 +0000 |
commit | c17d90fb503c0dbccb7bb0d5d32b2f7fce516d08 (patch) | |
tree | 98977afd3089390dbe16ec02919468bfa71ded82 /skeletons/NativeInteger.c | |
parent | 6164294aeb2ae09065ddc27dcbb2b5293bcab606 (diff) |
no lvalue casting
Diffstat (limited to 'skeletons/NativeInteger.c')
-rw-r--r-- | skeletons/NativeInteger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/skeletons/NativeInteger.c b/skeletons/NativeInteger.c index dd5c3e11..c6785c54 100644 --- a/skeletons/NativeInteger.c +++ b/skeletons/NativeInteger.c @@ -176,7 +176,8 @@ NativeInteger_decode_xer(asn_codec_ctx_t *opt_codec_ctx, int *Int = (int *)*sptr; if(!Int) { - (void *)Int = *sptr = CALLOC(1, sizeof(int)); + *sptr = CALLOC(1, sizeof(int)); + Int = (int *)*sptr; if(!Int) { rval.code = RC_FAIL; rval.consumed = 0; |