[glib] Use a uint64 to unpack a 64 bit value
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Use a uint64 to unpack a 64 bit value
- Date: Fri, 22 Jul 2016 17:20:42 +0000 (UTC)
commit 38317cf74688ca32b565bf0c01ea84cb5d417fa2
Author: Emilio Pozuelo Monfort <pochu27 gmail com>
Date: Fri Jul 22 17:49:54 2016 +0200
Use a uint64 to unpack a 64 bit value
https://bugzilla.gnome.org/show_bug.cgi?id=769089
gio/tests/gsettings.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/tests/gsettings.c b/gio/tests/gsettings.c
index 25bd447..f0bd89f 100644
--- a/gio/tests/gsettings.c
+++ b/gio/tests/gsettings.c
@@ -1186,9 +1186,9 @@ test_simple_binding (void)
g_assert_cmpuint (g_settings_get_uint64 (settings, "uint64"), ==, 12345);
g_settings_set_uint64 (settings, "uint64", 54321);
- u = 1111;
- g_object_get (obj, "uint64", &u, NULL);
- g_assert_cmpuint (u, ==, 54321);
+ u64 = 1111;
+ g_object_get (obj, "uint64", &u64, NULL);
+ g_assert_cmpuint (u64, ==, 54321);
g_settings_bind (settings, "int64", obj, "int64", G_SETTINGS_BIND_DEFAULT);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]