forked from enlightenment/efl
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 SVN revision: 39610
This commit is contained in:
parent
4ee9e854d5
commit
122566bac4
|
@ -61,11 +61,11 @@ struct Efreet_Menu_Internal
|
||||||
|
|
||||||
Eina_List *layout; /**< This menus layout */
|
Eina_List *layout; /**< This menus layout */
|
||||||
Eina_List *default_layout; /**< Default layout */
|
Eina_List *default_layout; /**< Default layout */
|
||||||
char show_empty; /**< Whether to show empty menus */
|
signed char show_empty; /**< Whether to show empty menus */
|
||||||
char in_line; /**< Whether this meny can be inlined */
|
signed char in_line; /**< Whether this meny can be inlined */
|
||||||
char inline_limit; /**< Number of elements which triggers inline */
|
signed char inline_limit; /**< Number of elements which triggers inline */
|
||||||
char inline_header; /**< Whether we should use the header name when this menu is inlined */
|
signed 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 inline_alias; /**< Whether we should use the menu name when inlining */
|
||||||
|
|
||||||
unsigned char seen_allocated:1; /**< have we set the only_unallocated */
|
unsigned char seen_allocated:1; /**< have we set the only_unallocated */
|
||||||
unsigned char only_unallocated:1; /**< Show only unallocated .desktops */
|
unsigned char only_unallocated:1; /**< Show only unallocated .desktops */
|
||||||
|
@ -184,11 +184,11 @@ struct Efreet_Menu_Layout
|
||||||
char *name; /**< The name of the element */
|
char *name; /**< The name of the element */
|
||||||
|
|
||||||
/* The items below are for Menuname Layout elements */
|
/* The items below are for Menuname Layout elements */
|
||||||
char show_empty; /**< Whether to show empty menus */
|
signed char show_empty; /**< Whether to show empty menus */
|
||||||
char in_line; /**< Whether this meny can be inlined */
|
signed char in_line; /**< Whether this meny can be inlined */
|
||||||
char inline_limit; /**< Number of elements which triggers inline */
|
signed char inline_limit; /**< Number of elements which triggers inline */
|
||||||
char inline_header; /**< Whether we should use the header name when this menu is inlined */
|
signed 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 inline_alias; /**< Whether we should use the menu name when inlining */
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue