diff options
-rw-r--r-- | libappstream-glib/as-yaml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-yaml.c b/libappstream-glib/as-yaml.c index 77946b6..1a5ba53 100644 --- a/libappstream-glib/as-yaml.c +++ b/libappstream-glib/as-yaml.c @@ -441,7 +441,7 @@ as_yaml_read_handler_cb (void *data, AsNode * as_yaml_from_file (GFile *file, GCancellable *cancellable, GError **error) { - g_autoptr(AsNode) node = NULL; + g_autoptr(AsYaml) node = NULL; #if AS_BUILD_DEP11 const gchar *content_type = NULL; yaml_parser_t parser; |