projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d786a
)
tests: Fix warnings
author
Jasper St. Pierre
<jstpierre@mecheye.net>
Fri, 25 May 2012 19:27:38 +0000
(15:27 -0400)
committer
Jasper St. Pierre
<jstpierre@mecheye.net>
Fri, 25 May 2012 20:36:46 +0000
(16:36 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=671687
tests/scanner/regress.c
patch
|
blob
|
history
diff --git
a/tests/scanner/regress.c
b/tests/scanner/regress.c
index
032d07b
..
30ead90
100644
(file)
--- a/
tests/scanner/regress.c
+++ b/
tests/scanner/regress.c
@@
-1316,7
+1316,7
@@
regress_test_ghash_gvalue_in (GHashTable *hash)
value = g_hash_table_lookup(hash, "flags");
g_assert(value != NULL);
g_assert(G_VALUE_HOLDS_FLAGS(value));
- g_assert(g_value_get_flags(value) ==
REGRESS_TEST_FLAG1 | REGRESS_TEST_FLAG3
);
+ g_assert(g_value_get_flags(value) ==
(REGRESS_TEST_FLAG1 | REGRESS_TEST_FLAG3)
);
value = g_hash_table_lookup(hash, "enum");
g_assert(value != NULL);