adjusted definitions to include gcc 4.x into the supported compilers list


git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@911 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/asn_SET_OF.c b/skeletons/asn_SET_OF.c
index 5e268c0..3670677 100644
--- a/skeletons/asn_SET_OF.c
+++ b/skeletons/asn_SET_OF.c
@@ -6,14 +6,12 @@
 #include <asn_SET_OF.h>
 #include <errno.h>
 
-typedef A_SET_OF(void) asn_set;
-
 /*
  * Add another element into the set.
  */
 int
 asn_set_add(void *asn_set_of_x, void *ptr) {
-	asn_set *as = (asn_set *)asn_set_of_x;
+	asn_anonymous_set_ *as = _A_SET_FROM_VOID(asn_set_of_x);
 
 	if(as == 0 || ptr == 0) {
 		errno = EINVAL;		/* Invalid arguments */
@@ -43,7 +41,7 @@
 
 void
 asn_set_del(void *asn_set_of_x, int number, int _do_free) {
-	asn_set *as = (asn_set *)asn_set_of_x;
+	asn_anonymous_set_ *as = _A_SET_FROM_VOID(asn_set_of_x);
 
 	if(as) {
 		void *ptr;
@@ -71,7 +69,7 @@
  */
 void
 asn_set_empty(void *asn_set_of_x) {
-	asn_set *as = (asn_set *)asn_set_of_x;
+	asn_anonymous_set_ *as = _A_SET_FROM_VOID(asn_set_of_x);
 
 	if(as) {
 		if(as->array) {