forked from AuroraMiddleware/gtk
cssselector: Reserve more bits for enum
Apparently some compilers make enums an int and then we get negative values. https://bugzilla.gnome.org/show_bug.cgi?id=741375
This commit is contained in:
parent
23c5f11391
commit
3e9067ce1c
@ -71,7 +71,7 @@ typedef enum {
|
||||
POSITION_ONLY,
|
||||
POSITION_SORTED
|
||||
} PositionType;
|
||||
#define POSITION_TYPE_BITS 2
|
||||
#define POSITION_TYPE_BITS 4
|
||||
#define POSITION_NUMBER_BITS ((sizeof (gpointer) * 8 - POSITION_TYPE_BITS) / 2)
|
||||
|
||||
union _GtkCssSelector
|
||||
|
Loading…
Reference in New Issue
Block a user