From df06efc29d8d1d49a89448887a7e0697c4501c41 Mon Sep 17 00:00:00 2001 From: mazze Date: Thu, 20 Jul 2006 22:15:03 +0000 Subject: [PATCH] Code beautification. Removed a warning. git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@24577 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/libs/muimaster/classes/family.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/workbench/libs/muimaster/classes/family.c b/workbench/libs/muimaster/classes/family.c index a6cf4ddbd..5b83f291f 100644 --- a/workbench/libs/muimaster/classes/family.c +++ b/workbench/libs/muimaster/classes/family.c @@ -100,7 +100,7 @@ static ULONG Family_New(struct IClass *cl, Object *obj, struct opSet *msg) /* * parse initial taglist */ - for (tags = msg->ops_AttrList; (tag = NextTagItem(&tags)); ) + for (tags = msg->ops_AttrList; (tag = NextTagItem((const struct TagItem**)&tags)); ) { if (tag->ti_Tag == MUIA_Family_Child || tag->ti_Tag == MUIA_Group_Child) { @@ -152,15 +152,17 @@ static ULONG Family_Get(struct IClass *cl, Object *obj, struct opGet *msg) switch(msg->opg_AttrID) { - case MUIA_Family_List: - *store = (ULONG)&data->childs; - return(TRUE); - case MUIA_Version: - *store = __version; - return(TRUE); - case MUIA_Revision: - *store = __revision; - return(TRUE); + case MUIA_Family_List: + *store = (ULONG)&data->childs; + return TRUE; + + case MUIA_Version: + *store = __version; + return TRUE; + + case MUIA_Revision: + *store = __revision; + return TRUE; } return(DoSuperMethodA(cl, obj, (Msg) msg)); -- 2.11.4.GIT