From 7c25d087bc06eb9776bd3f93a844ae9f50596fe9 Mon Sep 17 00:00:00 2001 From: rob Date: Thu, 20 Dec 2007 05:31:11 +0000 Subject: [PATCH] add casts to zune macros to silence some warnings git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@27513 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/libs/muimaster/mui.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/workbench/libs/muimaster/mui.h b/workbench/libs/muimaster/mui.h index 01f23ac01..f9e2a3a04 100644 --- a/workbench/libs/muimaster/mui.h +++ b/workbench/libs/muimaster/mui.h @@ -66,16 +66,16 @@ struct __MUIBuiltinClass { !defined(NO_INLINE_STDARG) && \ !defined(__SASC) -#define MUIOBJMACRO_START(class) \ -({ \ - ClassID __class = class; \ - enum { __ismuiobjmacro = 1 }; \ +#define MUIOBJMACRO_START(class) (IPTR) \ +({ \ + ClassID __class = (ClassID) class; \ + enum { __ismuiobjmacro = 1 }; \ IPTR __tags[] = {0 -#define BOOPSIOBJMACRO_START(class) \ -({ \ - Class *__class = class; \ - enum { __ismuiobjmacro = 0 }; \ +#define BOOPSIOBJMACRO_START(class) (IPTR) \ +({ \ + Class *__class = (Class *) class; \ + enum { __ismuiobjmacro = 0 }; \ IPTR __tags[] = {0 #define OBJMACRO_END \ -- 2.11.4.GIT