mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
valuetransform: Fix definition of ulong_bool
On big endian 64 bit machines such as s390x, an uint is too small to hold a ulong_bool; it needs to be an actual ulong. https://bugzilla.gnome.org/show_bug.cgi?id=678949 http://bugs.debian.org/662057
This commit is contained in:
parent
c5e5e95a21
commit
240ef2b9e8
@ -140,7 +140,7 @@ value_transform_##func_name (const GValue *src_value, \
|
|||||||
DEFINE_BOOL_CHECK (int_bool, v_int);
|
DEFINE_BOOL_CHECK (int_bool, v_int);
|
||||||
DEFINE_BOOL_CHECK (uint_bool, v_uint);
|
DEFINE_BOOL_CHECK (uint_bool, v_uint);
|
||||||
DEFINE_BOOL_CHECK (long_bool, v_long);
|
DEFINE_BOOL_CHECK (long_bool, v_long);
|
||||||
DEFINE_BOOL_CHECK (ulong_bool, v_uint);
|
DEFINE_BOOL_CHECK (ulong_bool, v_ulong);
|
||||||
DEFINE_BOOL_CHECK (int64_bool, v_int64);
|
DEFINE_BOOL_CHECK (int64_bool, v_int64);
|
||||||
DEFINE_BOOL_CHECK (uint64_bool, v_uint64);
|
DEFINE_BOOL_CHECK (uint64_bool, v_uint64);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user