From 7a1074dce9523e4b2b0e9464bab362b409b9a6a4 Mon Sep 17 00:00:00 2001 From: barbieri Date: Sat, 21 Mar 2009 17:00:55 +0000 Subject: [PATCH] fix efreet signedness issues. char is unsigned on ARM and other platforms, force some types to be signed as they can hold negative values. By: Albin Tonnerre git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@39610 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/efreet_menu.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib/efreet_menu.c b/src/lib/efreet_menu.c index 35994fb..b8d0fef 100644 --- a/src/lib/efreet_menu.c +++ b/src/lib/efreet_menu.c @@ -61,11 +61,11 @@ struct Efreet_Menu_Internal Eina_List *layout; /**< This menus layout */ Eina_List *default_layout; /**< Default layout */ - char show_empty; /**< Whether to show empty menus */ - char in_line; /**< Whether this meny can be inlined */ - char inline_limit; /**< Number of elements which triggers inline */ - char inline_header; /**< Whether we should use the header name when this menu is inlined */ - char inline_alias; /**< Whether we should use the menu name when inlining */ + signed char show_empty; /**< Whether to show empty menus */ + signed char in_line; /**< Whether this meny can be inlined */ + signed char inline_limit; /**< Number of elements which triggers inline */ + signed char inline_header; /**< Whether we should use the header name when this menu is inlined */ + signed char inline_alias; /**< Whether we should use the menu name when inlining */ unsigned char seen_allocated:1; /**< have we set the only_unallocated */ unsigned char only_unallocated:1; /**< Show only unallocated .desktops */ @@ -184,11 +184,11 @@ struct Efreet_Menu_Layout char *name; /**< The name of the element */ /* The items below are for Menuname Layout elements */ - char show_empty; /**< Whether to show empty menus */ - char in_line; /**< Whether this meny can be inlined */ - char inline_limit; /**< Number of elements which triggers inline */ - char inline_header; /**< Whether we should use the header name when this menu is inlined */ - char inline_alias; /**< Whether we should use the menu name when inlining */ + signed char show_empty; /**< Whether to show empty menus */ + signed char in_line; /**< Whether this meny can be inlined */ + signed char inline_limit; /**< Number of elements which triggers inline */ + signed char inline_header; /**< Whether we should use the header name when this menu is inlined */ + signed char inline_alias; /**< Whether we should use the menu name when inlining */ }; /** -- 2.7.4