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;