diff options
author | Philipp Kern <pkern@debian.org> | 2012-06-27 10:57:50 +0200 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2012-06-27 10:59:29 +0200 |
commit | 240ef2b9e830f2aa92356368902bec813f3c1ef8 (patch) | |
tree | c1c75ea467fc6c13c0f78dea42e62888c6cc29db /gobject | |
parent | c5e5e95a217dc43a70bd998fce16ed93225e0cfd (diff) | |
download | glib-240ef2b9e830f2aa92356368902bec813f3c1ef8.tar.gz |
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
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/gvaluetransform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gvaluetransform.c b/gobject/gvaluetransform.c index a785817ab..054250c59 100644 --- a/gobject/gvaluetransform.c +++ b/gobject/gvaluetransform.c @@ -140,7 +140,7 @@ value_transform_##func_name (const GValue *src_value, \ DEFINE_BOOL_CHECK (int_bool, v_int); DEFINE_BOOL_CHECK (uint_bool, v_uint); 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 (uint64_bool, v_uint64); |