avoid new gcc warnings for assigning the lvalue


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@582 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/OCTET_STRING.c b/skeletons/OCTET_STRING.c
index c35588d..5034e42 100644
--- a/skeletons/OCTET_STRING.c
+++ b/skeletons/OCTET_STRING.c
@@ -1113,9 +1113,10 @@
 	 */
 	if(!*sptr) {
 		OCTET_STRING_t *st;
-		(void *)st = *sptr = CALLOC(1, specs->struct_size);
+		st = (OCTET_STRING_t *)CALLOC(1, specs->struct_size);
 		if(st) st->buf = (uint8_t *)CALLOC(1, 1);
-		if(!*sptr || !st->buf) {
+		*sptr = (void *)st;
+		if(!st || !st->buf) {
 			asn_dec_rval_t rval;
 			if(*sptr) FREEMEM(*sptr);
 			rval.code = RC_FAIL;