]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gidl: Properly resolve "time_t"
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 5 Jul 2018 10:43:02 +0000 (12:43 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 5 Jul 2018 10:43:02 +0000 (12:43 +0200)
vapigen/valagidlparser.vala

index e0ffca52b1eedaf983d2b97a66eb60e3d76458a1..a187c6df321bc7041841d0064e1493fa4e9d62c1 100644 (file)
@@ -1946,7 +1946,7 @@ public class Vala.GIdlParser : CodeVisitor {
                        } else if (n == "value_array") {
                                type.unresolved_symbol = new UnresolvedSymbol (new UnresolvedSymbol (null, "GLib"), "ValueArray");
                        } else if (n == "time_t") {
-                               type.unresolved_symbol = new UnresolvedSymbol (null, "ulong");
+                               type.unresolved_symbol = new UnresolvedSymbol (null, "time_t");
                        } else if (n == "socklen_t") {
                                type.unresolved_symbol = new UnresolvedSymbol (null, "uint32");
                        } else if (n == "mode_t") {