summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-07-17 23:43:23 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-07-26 10:49:16 +0200
commit46da13dae95312db01d267394a4ff63651be8f6f (patch)
tree599e853112bd3ec43377f551c24af782e8474619 /tests
parent57e64a7e3f9ec504bcadcd20f393025e44903c3a (diff)
downloadvala-46da13dae95312db01d267394a4ff63651be8f6f.tar.gz
tests: Fix "methods/extern" test with -Werror=address and gcc 5.4.0
Diffstat (limited to 'tests')
-rw-r--r--tests/methods/extern.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/methods/extern.vala b/tests/methods/extern.vala
index 45ee4b3f7..5681b0d27 100644
--- a/tests/methods/extern.vala
+++ b/tests/methods/extern.vala
@@ -25,7 +25,7 @@ void main () {
assert ("foo" == Foo.strdup ("foo"));
assert ("foo" == Bar.strdup ("foo"));
- assert (some_thing != null);
- assert (Foo.some_thing != null);
- assert (Bar.some_thing != null);
+ assert ((void*) some_thing != null);
+ assert ((void*) Foo.some_thing != null);
+ assert ((void*) Bar.some_thing != null);
}