summaryrefslogtreecommitdiff
path: root/gio/gsettings-mapping.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2010-04-20 19:39:03 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-04-20 19:40:26 -0400
commit9488d18a87bdba2b4180280d8109ab5381acf9c8 (patch)
tree1a165825c9914ee7ac4a87431ac7aed30767d40a /gio/gsettings-mapping.c
parent1b61680abbf8ba10a24aff52397364c844f368bb (diff)
downloadglib-9488d18a87bdba2b4180280d8109ab5381acf9c8.tar.gz
Fix gsettings mapping for uint64
Bug #616295.
Diffstat (limited to 'gio/gsettings-mapping.c')
-rw-r--r--gio/gsettings-mapping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gsettings-mapping.c b/gio/gsettings-mapping.c
index 2c6cfada2..bdd2c9c42 100644
--- a/gio/gsettings-mapping.c
+++ b/gio/gsettings-mapping.c
@@ -137,7 +137,7 @@ g_settings_set_mapping_unsigned_int (const GValue *value,
const GVariantType *expected_type)
{
GVariant *variant = NULL;
- gulong u;
+ guint64 u;
if (G_VALUE_HOLDS_UINT (value))
u = g_value_get_uint (value);
@@ -283,7 +283,7 @@ g_settings_get_mapping_unsigned_int (GValue *value,
GVariant *variant)
{
const GVariantType *type;
- gulong u;
+ guint64 u;
type = g_variant_get_type (variant);