@@ -190,7 +190,7 @@ SELgetnew_dmlist( const Type type ) {
190190
191191 /* if t\'s underlying type is not already in newlist, */
192192 if ( ! utype_member ( newlist , t , 0 ) ) {
193- LISTadd_last ( newlist , t );
193+ LISTadd_last ( newlist , ( Generic ) t );
194194 }
195195
196196 LISTod ;
@@ -362,9 +362,9 @@ find_duplicate_list( const Type type, Linked_List * duplicate_list ) {
362362 if ( !utype_member ( * duplicate_list , u , 1 ) ) {
363363 /** if not already a duplicate **/
364364 if ( utype_member ( temp , u , 1 ) ) {
365- LISTadd_first ( * duplicate_list , u );
365+ LISTadd_first ( * duplicate_list , ( Generic ) u );
366366 } else {
367- LISTadd_first ( temp , u );
367+ LISTadd_first ( temp , ( Generic ) u );
368368 }
369369 }
370370 LISTod ;
@@ -562,7 +562,7 @@ SEL_TYPEgetnew_attribute_list( const Type type ) {
562562 attrs = ENTITYget_all_attributes ( cur );
563563 LISTdo ( attrs , a , Variable )
564564 if ( ! ATTR_LISTmember ( newlist , a ) ) {
565- LISTadd_first ( newlist , a );
565+ LISTadd_first ( newlist , ( Generic ) a );
566566 }
567567 LISTod ;
568568 }
@@ -954,8 +954,8 @@ ENTITYget_expanded_entities( Entity e, Linked_List l ) {
954954 int super_cnt = 0 ;
955955 Entity super ;
956956
957- if ( ! LISTmember ( l , e ) ) {
958- LISTadd_first ( l , e );
957+ if ( ! LISTmember ( l , ( Generic ) e ) ) {
958+ LISTadd_first ( l , ( Generic ) e );
959959 }
960960
961961 if ( multiple_inheritance ) {
@@ -1006,7 +1006,7 @@ memberOfEntPrimary( Entity ent, Variable uattr )
10061006 int result ;
10071007
10081008 ENTITYget_first_attribs ( ent , attrlist );
1009- result = ( LISTmember ( attrlist , uattr ) != 0 );
1009+ result = ( LISTmember ( attrlist , ( Generic ) uattr ) != 0 );
10101010 LIST_destroy ( attrlist );
10111011 return result ;
10121012}
0 commit comments