diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2017-03-06 06:28:32 +0100 |
---|---|---|
committer | Philip Withnall <withnall@endlessm.com> | 2017-03-06 09:14:25 +0000 |
commit | 2e1bd073426b42a7e207314f1cef1402509ce12a (patch) | |
tree | 7075c305e83b333754c56522cf34c375b8f597b4 | |
parent | 23b228110a122b2f0e8752ac2291b995d80347a5 (diff) | |
download | libgdata-2e1bd073426b42a7e207314f1cef1402509ce12a.tar.gz |
tests: Fix setting properties on i686
Without the cast, an integer literal will have to wrong size for a
64-bit integer parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=779641
-rw-r--r-- | gdata/tests/general.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdata/tests/general.c b/gdata/tests/general.c index 6b41f255..75232de3 100644 --- a/gdata/tests/general.c +++ b/gdata/tests/general.c @@ -1309,7 +1309,7 @@ test_query_properties (void) g_assert_##cmptype (gdata_query_get_##name_underscores (query), ==, new_val); \ \ notification_received = FALSE; \ - g_object_set (query, name_hyphens, new_val2, NULL); \ + g_object_set (query, name_hyphens, (val_type) new_val2, NULL); \ g_assert (notification_received == TRUE); \ \ g_assert_##cmptype (gdata_query_get_##name_underscores (query), ==, new_val2); \ |