aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test cases/vala/5 target glib/GLib.Thread.vala2
-rw-r--r--test cases/vala/5 target glib/retcode.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/test cases/vala/5 target glib/GLib.Thread.vala b/test cases/vala/5 target glib/GLib.Thread.vala
index 7018821..fc82919 100644
--- a/test cases/vala/5 target glib/GLib.Thread.vala
+++ b/test cases/vala/5 target glib/GLib.Thread.vala
@@ -1,4 +1,4 @@
-extern int get_ret_code ();
+extern void * get_ret_code ();
public class MyThread : Object {
public int x_times { get; private set; }
diff --git a/test cases/vala/5 target glib/retcode.c b/test cases/vala/5 target glib/retcode.c
index abca9bf..df44de5 100644
--- a/test cases/vala/5 target glib/retcode.c
+++ b/test cases/vala/5 target glib/retcode.c
@@ -1,5 +1,5 @@
-int
+void *
get_ret_code (void)
{
- return 42;
+ return (void *) (int) 42;
}