commit | a8f4a4cab02b4ebe537abb303c365cd4254fc44e | [log] [tgz] |
---|---|---|
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Mon Jan 17 14:32:45 2005 +0000 |
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Mon Jan 17 14:32:45 2005 +0000 |
tree | 98977afd3089390dbe16ec02919468bfa71ded82 | |
parent | 9a25e4addf27a4d96f9bcac0e12f558c1b6beaba [diff] [blame] |
no lvalue casting git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@601 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/NativeInteger.c b/skeletons/NativeInteger.c index dd5c3e1..c6785c5 100644 --- a/skeletons/NativeInteger.c +++ b/skeletons/NativeInteger.c
@@ -176,7 +176,8 @@ 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;