[libgsf] Compilation: suppress a warning.



commit df3c5cd553d667c5368fa5695836752daa295ab3
Author: Morten Welinder <terra gnome org>
Date:   Sat Jan 12 16:20:22 2019 -0500

    Compilation: suppress a warning.

 gsf/gsf-infile-tar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsf/gsf-infile-tar.c b/gsf/gsf-infile-tar.c
index 17513fe..7141185 100644
--- a/gsf/gsf-infile-tar.c
+++ b/gsf/gsf-infile-tar.c
@@ -384,7 +384,7 @@ gsf_infile_tar_child_by_index (GsfInfile *infile, int target, GError **err)
 
        c = &g_array_index (tar->children, TarChild, target);
        if (c->dir)
-               return g_object_ref (c->dir);
+               return GSF_INPUT (g_object_ref (c->dir));
        else {
                GsfInput *input = gsf_input_proxy_new_section (tar->source,
                                                               c->offset,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]