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:
@ -71,7 +71,7 @@ typedef enum {
|
|||||||
POSITION_ONLY,
|
POSITION_ONLY,
|
||||||
POSITION_SORTED
|
POSITION_SORTED
|
||||||
} PositionType;
|
} PositionType;
|
||||||
#define POSITION_TYPE_BITS 2
|
#define POSITION_TYPE_BITS 4
|
||||||
#define POSITION_NUMBER_BITS ((sizeof (gpointer) * 8 - POSITION_TYPE_BITS) / 2)
|
#define POSITION_NUMBER_BITS ((sizeof (gpointer) * 8 - POSITION_TYPE_BITS) / 2)
|
||||||
|
|
||||||
union _GtkCssSelector
|
union _GtkCssSelector
|
||||||
|
Reference in New Issue
Block a user